Query class final

Inheritance

Constructors

Query(List<WhereClause> whereClauses, List<String> values, {List<OrderByClause> orderByClauses = const [], bool distinct = false, List<String>? columns})
const
Query.all()
const

Properties

columns List<String>?
finalinherited
distinct bool
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isAll bool
no setterinherited
orderByClauses List<OrderByClause>
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List<String>
final
valuesOrNull List<String>?
no setter
whereClauses List<WhereClause>
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
orderByString() String?
inherited
toString() String
A string representation of this object.
inherited
whereString() String
inherited
whereStringOrNull() String?
inherited
whereStringWithValues() String
withoutColumns() Query
withValues(List<String> values) Query
inherited

Operators

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

Static Methods

builder([List<String>? columns]) QueryBuilder
equals<T>(String column, T value) Query
greaterThan<T>(String column, T value) Query
greaterThanOrEqual<T>(String column, T value) Query
inList<T>(String column, List<T> value) Query
Actually does what you'd expect, the above is for direct use
isNotNull(String column) Query
isNull(String column) Query
lessThan<T>(String column, T value) Query
lessThanOrEqual<T>(String column, T value) Query
like<T>(String column, T value) Query
notEquals<T>(String column, T value) Query
rowId(int value) Query