SqlCall<T, V> class final

A scalar call. Arguments are expressions or bound literals.

Inheritance

Constructors

SqlCall(String name, List<SqlArgument<T>> arguments)
name is an SQL identifier such as abs or a generated model scalar.

Properties

arguments → List<SqlArgument<T>>
Arguments in call order.
final
ascending → SqlOrdering<T>
Ascending order of this value.
no setterinherited
descending → SqlOrdering<T>
Descending order of this value.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
isNotNull → SqlPredicate<T>
expression IS NOT NULL.
no setterinherited
isNull → SqlPredicate<T>
expression IS NULL.
no setterinherited
name → String
SQL function name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

abs() → SqlCall<T, Object?>
abs(expression).
inherited
ceil() → SqlCall<T, Object?>
ceil(expression).
inherited
coalesce<A>(SqlExpression<T, A> other) → SqlCall<T, Object?>
coalesce(expression, other).
inherited
concat<A>(SqlExpression<T, A> other) → SqlCall<T, String>
concat(expression, other).
inherited
date() → SqlCall<T, String>
date(expression).
inherited
dateTime() → SqlCall<T, String>
datetime(expression).
inherited
equalTo(Object? value) → SqlPredicate<T>
expression = ?, or IS NULL when value is null.
inherited
floor() → SqlCall<T, Object?>
floor(expression).
inherited
hex() → SqlCall<T, String>
hex(expression).
inherited
ifNull(Object? value) → SqlCall<T, Object?>
ifnull(expression, ?).
inherited
instr(String needle) → SqlCall<T, BigInt>
instr(expression, ?).
inherited
julianDay() → SqlCall<T, double>
julianday(expression).
inherited
length() → SqlCall<T, BigInt>
length(expression).
inherited
lower() → SqlCall<T, String>
lower(expression).
inherited
ltrim([String? characters]) → SqlCall<T, String>
ltrim(expression) or ltrim(expression, ?).
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notEqualTo(Object? value) → SqlPredicate<T>
expression <> ?, or IS NOT NULL when value is null.
inherited
nullIf(Object? value) → SqlCall<T, Object?>
nullif(expression, ?).
inherited
octetLength() → SqlCall<T, BigInt>
octet_length(expression).
inherited
oneOf(Iterable<Object?> values) → SqlPredicate<T>
expression IN (...).
inherited
quote() → SqlCall<T, String>
quote(expression).
inherited
replace(String from, String to) → SqlCall<T, String>
replace(expression, ?, ?).
inherited
round([int? digits]) → SqlCall<T, Object?>
round(expression) or round(expression, ?).
inherited
rtrim([String? characters]) → SqlCall<T, String>
rtrim(expression) or rtrim(expression, ?).
inherited
sign() → SqlCall<T, BigInt>
sign(expression).
inherited
sqrt() → SqlCall<T, Object?>
sqrt(expression).
inherited
substr(int start, [int? length]) → SqlCall<T, String>
substr(expression, ?, ?). start is 1-based, matching SQLite.
inherited
time() → SqlCall<T, String>
time(expression).
inherited
toString() → String
A string representation of this object.
inherited
trim([String? characters]) → SqlCall<T, String>
trim(expression) or trim(expression, ?).
inherited
typeOf() → SqlCall<T, String>
typeof(expression).
inherited
unicode() → SqlCall<T, BigInt>
unicode(expression).
inherited
unixEpoch() → SqlCall<T, BigInt>
unixepoch(expression).
inherited
upper() → SqlCall<T, String>
upper(expression).
inherited

Operators

operator <(Object? value) → SqlPredicate<T>
expression < ?.
inherited
operator <=(Object? value) → SqlPredicate<T>
expression <= ?.
inherited
operator ==(Object other) → bool
The equality operator.
inherited
operator >(Object? value) → SqlPredicate<T>
expression > ?.
inherited
operator >=(Object? value) → SqlPredicate<T>
expression >= ?.
inherited