QueryBuilder class

Constructors

QueryBuilder.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tableName String?
Gets the main table name being queried (without alias).
no setter
updateTableName String?
Gets the table name specified for CRUD operations via forUpdate()
no setter

Methods

analyzeDependencies([AnalysisContext? parentContext]) QueryDependencies
Analyzes this query to determine table and column dependencies
build() → (String, List<Object?>)
crossJoin(String table, [String? alias]) QueryBuilder
forUpdate(String tableName) QueryBuilder
Specifies that results from this query should be CRUD-enabled targeting the specified table for update operations.
from(String table, [String? alias]) QueryBuilder
fullOuterJoin(String table, WhereClause onCondition, [String? alias]) QueryBuilder
groupBy(List<String> columns) QueryBuilder
having(String condition) QueryBuilder
innerJoin(String table, WhereClause onCondition, [String? alias]) QueryBuilder
leftJoin(String table, WhereClause onCondition, [String? alias]) QueryBuilder
limit(int count) QueryBuilder
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
offset(int count) QueryBuilder
orderBy(List<String> columns) QueryBuilder
rightJoin(String table, WhereClause onCondition, [String? alias]) QueryBuilder
select(String column, [String? alias]) QueryBuilder
selectSubQuery(void build(QueryBuilder), String alias) QueryBuilder
Select a subquery with an alias
toString() String
A string representation of this object.
inherited
where(WhereClause? clause) QueryBuilder

Operators

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