QueryBuilderOptions class
Properties
-
allowAliasInFields
↔ bool
-
allow alias in fields, example:
db.select().fields(
'tablename.fieldname as f'
).from('tablename') result in
SELECT "tablename"."fieldname" as "f" FROM tablename
getter/setter pair
-
autoQuoteAliasNames
↔ bool
-
Indicates whether alias names are rendered inside quotes. Default: TRUE.
The quote character used is configurable via the
tableAliasQuoteCharacter
and fieldAliasQuoteCharacter
options.
getter/setter pair
-
autoQuoteFieldNames
↔ bool
-
Indicates whether field names are rendered inside quotes. Default: TRUE.
getter/setter pair
-
autoQuoteTableNames
↔ bool
-
Indicates whether table names are rendered inside quotes. Default: TRUE.
The quote character used is configurable via the
nameQuoteCharacter
option
getter/setter pair
-
dontQuote
↔ bool
-
getter/setter pair
-
doubleQuoteReplacement
↔ String
-
getter/setter pair
-
driver
↔ ConnectionDriver
-
getter/setter pair
-
fieldAliasQuoteCharacter
↔ String
-
Specifies the quote character used for when quoting
field alias
names.
getter/setter pair
-
fieldsTablesSeparator
↔ String
-
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
ignorePeriodsForFieldNameQuotes
↔ bool
-
Indicates whether don't quote string values while formatting. Default: FALSE.
getter/setter pair
-
nameQuoteCharacter
↔ String
-
Specifies the quote character used for when quoting
table
and field
names.
getter/setter pair
-
quoteStringWithFieldsTablesSeparator
↔ bool
-
quote table and field string with dot, example:
db.select().fields(
'tablename.fieldname'
).from('tablename') result in
SELECT "tablename"."fieldname" FROM tablename
getter/setter pair
-
replaceDoubleQuotes
↔ bool
-
Indicates whether to ignore period (.) when automatically quoting the
field
name. Default: FALSE.
getter/setter pair
-
replaceSingleQuotes
↔ bool
-
Indicates whether to replaces all single quotes within strings. Default: FALSE.
The replacement string used is configurable via the
singleQuoteReplacement
option.
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
separator
↔ String
-
Specifies the string to join individual blocks in a query when it's stringified.
getter/setter pair
-
singleQuoteReplacement
↔ String
-
Specifies the string to replace single quotes with in query strings.
getter/setter pair
-
tableAliasQuoteCharacter
↔ String
-
Specifies the quote character used for when quoting
table alias
names.
getter/setter pair
-
valueQuoteCharacter
↔ String
-
getter/setter pair