extensions/native library
High-level bindings to mathematical functions that are only available in
a NativeDatabase
.
Extensions
-
DriftNativeStringExtensions
on Expression<
String?> -
Adds functionality to string expressions that only work when using
a
NativeDatabase
.
Functions
-
sqlAcos(
Expression< num?> value) → Expression<num?> -
Calculates the cosine of
value
in sql. -
sqlAsin(
Expression< num?> value) → Expression<num?> -
Calculates the arc sine of
value
in sql. -
sqlAtan(
Expression< num?> value) → Expression<num?> -
Calculates the tangent of
value
in sql. -
sqlCos(
Expression< num?> value) → Expression<num?> -
Calculates the cosine of
value
in sql. -
sqlPow(
Expression< num?> base, Expression<num?> exponent) → Expression<num?> -
Raises
base
to the power ofexponent
. -
sqlSin(
Expression< num?> value) → Expression<num?> -
Calculates the sine of
value
in sql. -
sqlSqrt(
Expression< num?> value) → Expression<num?> -
Calculates the square root of
value
in sql. -
sqlTan(
Expression< num?> value) → Expression<num?> -
Calculates the tangent of
value
in sql.