SQL class

An encoded SQL representation. This is used by a DBSQLAdapter to execute queries.

Implemented types

Constructors

SQL(String sql, List? positionalParameters, Map<String, dynamic>? namedParameters, Map<String, dynamic> parametersByPlaceholder, {String? sqlCondition, String? sqlPositional, List<String>? parametersKeysByPosition, List<Object?>? parametersValuesByPosition, Condition? condition, String? entityName, String? idFieldName, Set<String>? returnColumns, Map<String, String>? returnColumnsAliases, required String? mainTable, TableRelationshipReference? relationship, Map<String, String>? tablesAliases, RegExp? placeholderRegexp})

Properties

allSQLs Iterable<SQL>
Returns all wrapped SQLs.
no setteroverride
condition Condition?
final
entityName String?
final
hashCode int
The hash code for this object.
no setterinherited
hasPosSQL bool
no setter
hasPreOrPosSQL bool
no setter
hasPreSQL bool
no setter
idFieldName String?
final
isDummy bool
no setter
isFullyDummy bool
no setter
mainSQL SQL
Returns the main SQL.
no setteroverride
mainTable String?
final
namedParameters Map<String, dynamic>?
final
parametersByPlaceholder Map<String, dynamic>
final
parametersKeysByPosition List<String>
no setter
parametersValuesByPosition List<Object?>
no setter
placeholderRegexp RegExp
final
positionalParameters List?
final
posSQL List<SQL>?
getter/setter pair
posSQLReturnIndex int?
getter/setter pair
preSQL List<SQL>?
getter/setter pair
relationship TableRelationshipReference?
final
returnColumns Set<String>?
final
returnColumnsAliases Map<String, String>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sql String
final
sqlCondition String?
final
sqlPositional String
no setter
sqlsLength int
The amount of SQLs.
no setteroverride
tablesAliases Map<String, String>?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

dummy SQL
final