QSelect class
Represents a standard field selection with optional alias.
This is the most common type of SELECT field, representing a single column from a table with an optional alias.
Example usage:
var field1 = QSelect('name'); // `name`
var field2 = QSelect('email', as: 'user_email'); // `email` AS `user_email`
- Implemented types
Constructors
- QSelect.new(String field, {String as = ''})
- Creates a standard SELECT field with optional alias.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toSQL(
) → String -
Generates the SQL for this field with optional alias.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited