SelectStatementBuilder class
Create a SelectStatement using a builder
- Available extensions
Constructors
- SelectStatementBuilder({required String from})
- Create a new SelectStatementBuilder with a FROM clause
Properties
- from → String
-
Set the FROM clause
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- join → JoinBuilder
-
Access the JOIN clause builder
no setter
- orderBy → OrderByBuilder
-
Access the ORDER BY clause builder
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- where → WhereClauseBuilder
-
Access the WHERE clause builder
no setter
Methods
-
build(
) → SelectStatement - Build the SelectStatement
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
selectAll(
) → void - Add all columns to the select statement
-
selectColumn(
String columnName, {String? tableName}) → void - Add a specific column to the select statement
-
toString(
) → String -
A string representation of this object.
inherited
-
withAllColumns(
) → SelectStatementBuilder -
Available on SelectStatementBuilder, provided by the SelectStatementBuilderExtensions extension
Fluent method to select all columns -
withColumn(
String columnName, {String? tableName}) → SelectStatementBuilder -
Available on SelectStatementBuilder, provided by the SelectStatementBuilderExtensions extension
Fluent method to add a selected column
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited