List of all members | Public Slots | Public Member Functions
XSqlQueryProto Class Reference

#include <xsqlqueryproto.h>

Inheritance diagram for XSqlQueryProto:
QObject QScriptable

Public Slots

bool first ()
 
bool last ()
 
bool next ()
 
bool previous ()
 

Public Member Functions

 XSqlQueryProto (QObject *parent=0)
 
virtual ~XSqlQueryProto ()
 
Q_INVOKABLE int findFirst (const QString &, const QString &)
 
Q_INVOKABLE int findFirst (const QString &, int)
 
Q_INVOKABLE int findFirst (int, int)
 
Q_INVOKABLE bool isActive ()
 
Q_INVOKABLE bool isForwardOnly ()
 
Q_INVOKABLE bool isSelect ()
 
Q_INVOKABLE bool isValid ()
 
Q_INVOKABLE QVariantMap lastError ()
 
Q_INVOKABLE int numRowsAffected ()
 
Q_INVOKABLE QSqlRecord record () const
 
Q_INVOKABLE int size ()
 
Q_INVOKABLE QString toString () const
 
Q_INVOKABLE QVariant value (const QString &field)
 
Q_INVOKABLE QVariant value (int index)
 

Constructor & Destructor Documentation

◆ XSqlQueryProto()

XSqlQueryProto::XSqlQueryProto ( QObject parent = 0)

◆ ~XSqlQueryProto()

XSqlQueryProto::~XSqlQueryProto ( )
virtual

Member Function Documentation

◆ findFirst() [1/3]

int XSqlQueryProto::findFirst ( const QString &  col,
const QString &  val 
)

◆ findFirst() [2/3]

int XSqlQueryProto::findFirst ( const QString &  col,
int  val 
)

◆ findFirst() [3/3]

int XSqlQueryProto::findFirst ( int  col,
int  val 
)

◆ first

bool XSqlQueryProto::first ( )
slot

◆ isActive()

bool XSqlQueryProto::isActive ( )

◆ isForwardOnly()

bool XSqlQueryProto::isForwardOnly ( )

◆ isSelect()

bool XSqlQueryProto::isSelect ( )

◆ isValid()

bool XSqlQueryProto::isValid ( )

◆ last

bool XSqlQueryProto::last ( )
slot

◆ lastError()

QVariantMap XSqlQueryProto::lastError ( )

◆ next

bool XSqlQueryProto::next ( )
slot

◆ numRowsAffected()

int XSqlQueryProto::numRowsAffected ( )

◆ previous

bool XSqlQueryProto::previous ( )
slot

◆ record()

QSqlRecord XSqlQueryProto::record ( ) const

◆ size()

int XSqlQueryProto::size ( )

◆ toString()

QString XSqlQueryProto::toString ( ) const

◆ value() [1/2]

QVariant XSqlQueryProto::value ( const QString &  field)

◆ value() [2/2]

QVariant XSqlQueryProto::value ( int  index)

The documentation for this class was generated from the following files:

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17