sbSQLBuilderBase.h File Reference
#include <sbISQLBuilder.h>
#include <nsStringGlue.h>
#include <nsTArray.h>
#include <nsCOMArray.h>
#include <nsCOMPtr.h>
Include dependency graph for sbSQLBuilderBase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sbSQLBuilderBase
 
struct  sbSQLBuilderBase::sbColumnInfo
 
struct  sbSQLBuilderBase::sbJoinInfo
 
struct  sbSQLBuilderBase::sbSubqueryInfo
 

Macros

#define QUOTE_CHAR   '\''
 
#define NS_FORWARD_SBISQLBUILDER_WITHOUT_TOSTRING_RESET(_to)
 

Functions

nsresult SB_EscapeSQL (nsAString &str)
 

Macro Definition Documentation

#define NS_FORWARD_SBISQLBUILDER_WITHOUT_TOSTRING_RESET (   _to)
Value:
NS_IMETHOD GetLimit(PRInt32 *aLimit) { return _to GetLimit(aLimit); } \
NS_IMETHOD SetLimit(PRInt32 aLimit) { return _to SetLimit(aLimit); } \
NS_IMETHOD GetLimitIsParameter(PRBool *aLimitIsParameter) { return _to GetLimitIsParameter(aLimitIsParameter); } \
NS_IMETHOD SetLimitIsParameter(PRBool aLimitIsParameter) { return _to SetLimitIsParameter(aLimitIsParameter); } \
NS_IMETHOD GetOffset(PRInt32 *aOffset) { return _to GetOffset(aOffset); } \
NS_IMETHOD SetOffset(PRInt32 aOffset) { return _to SetOffset(aOffset); } \
NS_IMETHOD GetOffsetIsParameter(PRBool *aOffsetIsParameter) { return _to GetOffsetIsParameter(aOffsetIsParameter); } \
NS_IMETHOD SetOffsetIsParameter(PRBool aOffsetIsParameter) { return _to SetOffsetIsParameter(aOffsetIsParameter); } \
NS_IMETHOD AddJoin(PRUint32 aJoinType, const nsAString & aJoinedTableName, const nsAString & aJoinedTableAlias, const nsAString & aJoinedColumnName, const nsAString & aJoinToTableName, const nsAString & aJoinToColumnName) { return _to AddJoin(aJoinType, aJoinedTableName, aJoinedTableAlias, aJoinedColumnName, aJoinToTableName, aJoinToColumnName); } \
NS_IMETHOD AddJoinWithIndexHint(PRUint32 aJoinType, const nsAString & aJoinedTableName, const nsAString & aJoinedTableAlias, const nsAString & aJoinedColumnName, const nsAString & aJoinToTableName, const nsAString & aJoinToColumnName, PRBool aRequiresFromTableIndexHint, PRBool aRequiresToTableIndexHint) { return _to AddJoinWithIndexHint(aJoinType, aJoinedTableName, aJoinedTableAlias, aJoinedColumnName, aJoinToTableName, aJoinToColumnName, aRequiresFromTableIndexHint, aRequiresToTableIndexHint); } \
NS_IMETHOD AddSubqueryJoin(PRUint32 aJoinType, sbISQLSelectBuilder *aJoinedSubquery, const nsAString & aJoinedTableAlias, const nsAString & aJoinedColumnName, const nsAString & aJoinToTableName, const nsAString & aJoinToColumnName) { return _to AddSubqueryJoin(aJoinType, aJoinedSubquery, aJoinedTableAlias, aJoinedColumnName, aJoinToTableName, aJoinToColumnName); } \
NS_IMETHOD AddJoinWithCriterion(PRUint32 aJoinType, const nsAString & aJoinedTableName, const nsAString & aJoinedTableAlias, sbISQLBuilderCriterion *aCriterion) { return _to AddJoinWithCriterion(aJoinType, aJoinedTableName, aJoinedTableAlias, aCriterion); } \
NS_IMETHOD AddSubquery(sbISQLSelectBuilder *aSubquery, const nsAString & aAlias) { return _to AddSubquery(aSubquery, aAlias); } \
Interface for building SELECT statements.
Interface for SQL critera. This interface has no public methods as it is used only as a return type f...

Definition at line 39 of file sbSQLBuilderBase.h.

#define QUOTE_CHAR   '\''

Definition at line 37 of file sbSQLBuilderBase.h.

Function Documentation

nsresult SB_EscapeSQL ( nsAString &  str)
inline

Definition at line 100 of file sbSQLBuilderBase.h.

Here is the caller graph for this function: