QueryBuilder class
A helper class to construct SQL queries based on the specific dialect. This class abstracts the common tasks of building SQL queries, allowing a consistent interface while adapting to different SQL dialects.
Constructors
- QueryBuilder(String _tableName, Dialect _dialect)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildInsert(
) → String -
buildSelect(
) → String -
getInsertValues(
) → List -
getNamedInsertValues(
) → Map< String, dynamic> -
limit(
int count) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
orderBy(
String column, {bool desc = false}) → void -
select(
List< String> columns) → void -
toString(
) → String -
A string representation of this object.
inherited
-
values(
Map< String, dynamic> values) → void -
where(
String condition) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited