package query
- Alphabetic
- By Inheritance
- query
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
sealed abstract
class
Action extends AnyRef
Enumeration for event action types.
- case class After(expr: Expr) extends Cursor with Product with Serializable
- case class Before(expr: Expr) extends Cursor with Product with Serializable
-
sealed
trait
Cursor extends AnyRef
Helper for pagination cursors
-
final
case class
Expr extends AnyVal with Product with Serializable
A query language expression.
-
sealed abstract
class
Normalizer extends AnyRef
Enumeration for casefold operation.
-
final
case class
Path extends AnyVal with Product with Serializable
Helper for path syntax
- class QueryMacros extends AnyRef
- case class RawCursor(expr: Expr) extends Cursor with Product with Serializable
-
sealed abstract
class
TimeUnit extends AnyRef
Enumeration for time units.
Enumeration for time units. Used by https://app.fauna.com/documentation/reference/queryapi#time-and-date.
Value Members
-
def
Abort(msg: Expr): Expr
A Abort expression.
A Abort expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#basic-forms
-
def
Abs(num: Expr): Expr
An Abs expression.
An Abs expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Acos(num: Expr): Expr
An Acos expression.
An Acos expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Add(terms: Expr*): Expr
An Add expression.
An Add expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
All(collection: Expr): Expr
Evaluates to true if all elements of the collection is true.
Evaluates to true if all elements of the collection is true.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/all
-
def
And(terms: Expr*): Expr
An And expression.
An And expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#logical-functions
-
def
Any(collection: Expr): Expr
Evaluates to true if any element of the collection is true.
Evaluates to true if any element of the collection is true.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/any
-
def
Append(elems: Expr, collection: Expr): Expr
An Append expression.
An Append expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#collections
-
def
Arr(elems: Expr*): Expr
An Array value.
An Array value.
Reference: https://app.fauna.com/documentation/reference/queryapi#simple-type
-
def
Asin(num: Expr): Expr
An Asin expression.
An Asin expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
At(timestamp: Expr, expr: Expr): Expr
A At expression.
A At expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#basic-forms
-
def
Atan(num: Expr): Expr
An Atan expression.
An Atan expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
BitAnd(terms: Expr*): Expr
An BitAnd expression.
An BitAnd expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
BitNot(num: Expr): Expr
A BitNot expression.
A BitNot expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
BitOr(terms: Expr*): Expr
An BitOr expression.
An BitOr expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
BitXor(terms: Expr*): Expr
An BitXor expression.
An BitXor expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Call(ref: Expr, arguments: Expr*): Expr
A Call expression.
A Call expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#basic-forms
- def Casefold(term: Expr, normalizer: Expr): Expr
- def Casefold(term: Expr, normalizer: Normalizer): Expr
-
def
Casefold(term: Expr): Expr
A Casefold expression.
A Casefold expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
Ceil(num: Expr): Expr
A Ceil expression.
A Ceil expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Collection(name: Expr, scope: Expr): Expr
A Collection expression.
A Collection expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#miscellaneous-functions
-
def
Collection(name: Expr): Expr
A Collection expression.
A Collection expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#miscellaneous-functions
-
def
Collections(scope: Expr = NullV): Expr
Native reference to all classes
- def Concat(term: Expr, separator: Expr): Expr
-
def
Concat(term: Expr): Expr
A Concat expression.
A Concat expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
Contains(path: Expr, in: Expr): Expr
A Contains expression.
A Contains expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#miscellaneous-functions
-
def
ContainsStr(value: Expr, search: Expr): Expr
A ContainsStr expression
A ContainsStr expression
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/containsstr
-
def
ContainsStrRegex(value: Expr, pattern: Expr): Expr
A ContainsStrRegex expression
A ContainsStrRegex expression
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/containsstrregex
-
def
Cos(num: Expr): Expr
A Cos expression.
A Cos expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Cosh(num: Expr): Expr
A Cosh expression.
A Cosh expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Count(collection: Expr): Expr
Count the number of elements in the collection.
Count the number of elements in the collection.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/count
-
def
Create(ref: Expr, params: Expr): Expr
A Create expression.
A Create expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#write-functions
-
def
CreateCollection(params: Expr): Expr
A Create Collection expression.
A Create Collection expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#write-functions
-
def
CreateDatabase(params: Expr): Expr
A Create Database expression.
A Create Database expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#write-functions
-
def
CreateFunction(params: Expr): Expr
A Create Function expression.
A Create Function expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#write-functions
-
def
CreateIndex(params: Expr): Expr
A Create Index expression.
A Create Index expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#write-functions
-
def
CreateKey(params: Expr): Expr
A Create Key expression.
A Create Key expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#write-functions
-
def
CreateRole(params: Expr): Expr
A Create Role expression.
A Create Role expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#write-functions
-
def
Credentials(scope: Expr = NullV): Expr
Native reference to all credentials
-
def
Database(name: Expr, scope: Expr): Expr
A Database expression.
A Database expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#miscellaneous-functions
-
def
Database(name: Expr): Expr
A Database expression.
A Database expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#miscellaneous-functions
-
def
Databases(scope: Expr = NullV): Expr
Native reference to all databases
-
def
Date(str: Expr): Expr
A Date expression.
A Date expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-and-date
-
def
DayOfMonth(term: Expr): Expr
Returns a time expression's day of the month, from 1 to 31.
Returns a time expression's day of the month, from 1 to 31.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-functions
-
def
DayOfWeek(term: Expr): Expr
Returns a time expression's day of the week following ISO-8601 convention, from 1 (Monday) to 7 (Sunday).
Returns a time expression's day of the week following ISO-8601 convention, from 1 (Monday) to 7 (Sunday).
Reference: https://app.fauna.com/documentation/reference/queryapi#time-functions
-
def
DayOfYear(term: Expr): Expr
Returns a time expression's day of the year, from 1 to 365, or 366 in a leap year.
Returns a time expression's day of the year, from 1 to 365, or 366 in a leap year.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-functions
-
def
Degrees(num: Expr): Expr
A Degrees expression.
A Degrees expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Delete(ref: Expr): Expr
A Delete expression.
A Delete expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#write-functions
-
def
Difference(sets: Expr*): Expr
A Difference set.
A Difference set.
Reference: https://app.fauna.com/documentation/reference/queryapi#sets
-
def
Distinct(set: Expr): Expr
A Distinct set.
A Distinct set.
Reference: https://app.fauna.com/documentation/reference/queryapi#sets
-
def
Divide(terms: Expr*): Expr
A Divide expression.
A Divide expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Do(exprs: Expr*): Expr
A Do expression.
A Do expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#basic-forms
-
def
Drop(num: Expr, collection: Expr): Expr
A Drop expression.
A Drop expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#collections
-
def
EndsWith(value: Expr, search: Expr): Expr
An EndsWith expression
An EndsWith expression
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/endswith
- def Epoch(num: Expr, unit: Expr): Expr
-
def
Epoch(num: Expr, unit: TimeUnit): Expr
An Epoch expression.
An Epoch expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-and-date
-
def
Equals(terms: Expr*): Expr
An Equals expression.
An Equals expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#miscellaneous-functions
-
def
Events(refSet: Expr): Expr
A Events set.
A Events set.
Reference: https://app.fauna.com/documentation/reference/queryapi#sets
- def Exists(ref: Expr, ts: Expr): Expr
-
def
Exists(ref: Expr): Expr
An Exists expression.
An Exists expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#read-functions
-
def
Exp(num: Expr): Expr
An Exp expression.
An Exp expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Filter(collection: Expr, lambda: Expr): Expr
A Filter expression.
A Filter expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#collections
- def FindStr(value: Expr, find: Expr, start: Expr): Expr
-
def
FindStr(value: Expr, find: Expr): Expr
A FindStr expression
A FindStr expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
FindStrRegex(value: Expr, pattern: Expr, start: Expr, num_results: Expr): Expr
A FindStrRegex expression
A FindStrRegex expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
FindStrRegex(value: Expr, pattern: Expr, start: Expr): Expr
A FindStrRegex expression
A FindStrRegex expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
Floor(num: Expr): Expr
A Floor expression.
A Floor expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Foreach(collection: Expr, lambda: Expr): Expr
A Foreach expression.
A Foreach expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#collections
-
def
Format(format: Expr, values: Expr*): Expr
A Format expression
A Format expression
Reference: https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
Function(name: Expr, scope: Expr): Expr
A Function expression.
A Function expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#miscellaneous-functions
-
def
Function(name: Expr): Expr
A Function expression.
A Function expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#miscellaneous-functions
-
def
Functions(scope: Expr = NullV): Expr
Native reference to all functions
-
def
GT(terms: Expr*): Expr
A GT expression.
A GT expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#logical-functions
-
def
GTE(terms: Expr*): Expr
A GTE expression.
A GTE expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#logical-functions
- def Get(resource: Expr, ts: Expr): Expr
-
def
Get(resource: Expr): Expr
A Get expression.
A Get expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#read-functions
-
def
HasIdentity(): Expr
An HasIdentity expression.
An HasIdentity expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#authentication
-
def
Hour(term: Expr): Expr
Returns a time expression's hour of the day, from 0 to 23.
Returns a time expression's hour of the day, from 0 to 23.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-functions
-
def
Hypot(num: Expr, exp: Expr): Expr
A Hypot expression.
A Hypot expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Hypot(num: Expr): Expr
A Hypot expression.
A Hypot expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Identify(ref: Expr, password: Expr): Expr
An Identify expression.
An Identify expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#authentication
-
def
Identity(): Expr
An Identity expression.
An Identity expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#authentication
-
def
If(pred: Expr, then: Expr, else: Expr): Expr
An If expression.
An If expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#basic-forms
-
def
Index(name: Expr, scope: Expr): Expr
An Index expression.
An Index expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#miscellaneous-functions
-
def
Index(name: Expr): Expr
An Index expression.
An Index expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#miscellaneous-functions
-
def
Indexes(scope: Expr = NullV): Expr
Native reference to all indexes
- def Insert(ref: Expr, ts: Expr, action: Expr, params: Expr): Expr
-
def
Insert(ref: Expr, ts: Expr, action: Action, params: Expr): Expr
An Insert expression.
An Insert expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#write-functions
-
def
Intersection(sets: Expr*): Expr
An Intersection set.
An Intersection set.
Reference: https://app.fauna.com/documentation/reference/queryapi#sets
-
def
IsArray(expr: Expr): Expr
Check if the expression is an array.
Check if the expression is an array.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isarray
-
def
IsBoolean(expr: Expr): Expr
Check if the expression is a boolean.
Check if the expression is a boolean.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isboolean
-
def
IsBytes(expr: Expr): Expr
Check if the expression is a byte array.
Check if the expression is a byte array.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isbytes
-
def
IsCollection(expr: Expr): Expr
Check if the expression is a collection.
Check if the expression is a collection.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/iscollection
-
def
IsCredentials(expr: Expr): Expr
Check if the expression is a credentials.
Check if the expression is a credentials.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/iscredentials
-
def
IsDatabase(expr: Expr): Expr
Check if the expression is a database.
Check if the expression is a database.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isdatabase
-
def
IsDate(expr: Expr): Expr
Check if the expression is a date.
Check if the expression is a date.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isdate
-
def
IsDoc(expr: Expr): Expr
Check if the expression is a document (either a reference or an instance).
Check if the expression is a document (either a reference or an instance).
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isdoc
-
def
IsDouble(expr: Expr): Expr
Check if the expression is a double.
Check if the expression is a double.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isdouble
-
def
IsEmpty(collection: Expr): Expr
A IsEmpty expression.
A IsEmpty expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#collections
-
def
IsFunction(expr: Expr): Expr
Check if the expression is a function.
Check if the expression is a function.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isfunction
-
def
IsIndex(expr: Expr): Expr
Check if the expression is an index.
Check if the expression is an index.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isindex
-
def
IsInteger(expr: Expr): Expr
Check if the expression is an integer.
Check if the expression is an integer.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isinteger
-
def
IsKey(expr: Expr): Expr
Check if the expression is a key.
Check if the expression is a key.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/iskey
-
def
IsLambda(expr: Expr): Expr
Check if the expression is a lambda.
Check if the expression is a lambda.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/islambda
-
def
IsNonEmpty(collection: Expr): Expr
A IsNonEmpty expression.
A IsNonEmpty expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#collections
-
def
IsNull(expr: Expr): Expr
Check if the expression is null.
Check if the expression is null.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isnull
-
def
IsNumber(expr: Expr): Expr
Check if the expression is a number.
Check if the expression is a number.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isnumber
-
def
IsObject(expr: Expr): Expr
Check if the expression is an object.
Check if the expression is an object.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isobject
-
def
IsRef(expr: Expr): Expr
Check if the expression is a reference.
Check if the expression is a reference.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isref
-
def
IsRole(expr: Expr): Expr
Check if the expression is a role.
Check if the expression is a role.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isrole
-
def
IsSet(expr: Expr): Expr
Check if the expression is a set.
Check if the expression is a set.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isset
-
def
IsString(expr: Expr): Expr
Check if the expression is a string.
Check if the expression is a string.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isstring
-
def
IsTimestamp(expr: Expr): Expr
Check if the expression is a timestamp.
Check if the expression is a timestamp.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/istimestamp
-
def
IsToken(expr: Expr): Expr
Check if the expression is a token.
Check if the expression is a token.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/istoken
-
def
Join(source: Expr, with: Expr): Expr
A Join set.
A Join set.
Reference: https://app.fauna.com/documentation/reference/queryapi#sets
-
def
KeyFromSecret(secret: Expr): Expr
A KeyFromSecret expression.
A KeyFromSecret expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#read-functions
-
def
Keys(scope: Expr = NullV): Expr
Native reference to all keys
-
def
LT(terms: Expr*): Expr
A LT expression.
A LT expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#logical-functions
-
def
LTE(terms: Expr*): Expr
A LTE expression.
A LTE expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#logical-functions
-
def
LTrim(value: Expr): Expr
A LTrim expression
A LTrim expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
- def Lambda(lambda: Expr, expr: Expr): Expr
- macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
- macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
- macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
- macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
- macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
- macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
- macro def Lambda(fn: (Expr, Expr, Expr, Expr) ⇒ Expr): Expr
- macro def Lambda(fn: (Expr, Expr, Expr) ⇒ Expr): Expr
- macro def Lambda(fn: (Expr, Expr) ⇒ Expr): Expr
-
macro
def
Lambda(fn: (Expr) ⇒ Expr): Expr
A Lambda expression.
A Lambda expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#basic-forms
-
def
Length(value: Expr): Expr
A Length expression
A Length expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
- def Let(bindings: Seq[(String, Expr)], in: Expr): Expr
-
macro
def
Let(block: ⇒ Any): Expr
A Let expression.
A Let expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#basic-forms
-
def
Ln(num: Expr): Expr
A ln expression.
A ln expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Log(num: Expr): Expr
A Log expression.
A Log expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Login(ref: Expr, params: Expr): Expr
A Login expression.
A Login expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#authentication
-
def
Logout(invalidateAll: Expr): Expr
A Logout expression.
A Logout expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#authentication
-
def
LowerCase(value: Expr): Expr
A LowerCase expression
A LowerCase expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
Map(collection: Expr, lambda: Expr): Expr
A Map expression.
A Map expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#collections
-
def
Match(index: Expr, terms: Expr*): Expr
A Match set.
A Match set.
Reference: https://app.fauna.com/documentation/reference/queryapi#sets
-
def
Max(terms: Expr*): Expr
A Max expression.
A Max expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Mean(collection: Expr): Expr
Returns the mean of all elements in the collection.
Returns the mean of all elements in the collection.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/mean
-
def
Merge(merge: Expr, with: Expr, lambda: Expr): Expr
Merge two or more objects into a single one.
Merge two or more objects into a single one. A lambda can be specified to resolve conflicts.
Reference: https://app.fauna.com/documentation/reference/queryapi#object-functions
-
def
Merge(merge: Expr, with: Expr): Expr
Merge two or more objects into a single one.
Merge two or more objects into a single one.
Reference: https://app.fauna.com/documentation/reference/queryapi#object-functions
-
def
Min(terms: Expr*): Expr
A Min expression.
A Min expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Minute(term: Expr): Expr
Returns a time expression's minute of the hour, from 0 to 59.
Returns a time expression's minute of the hour, from 0 to 59.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-functions
-
def
Modulo(terms: Expr*): Expr
A Modulo expression.
A Modulo expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Month(term: Expr): Expr
Returns a time expression's month of the year, from 1 to 12.
Returns a time expression's month of the year, from 1 to 12.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-functions
-
def
MoveDatabase(from: Expr, to: Expr): Expr
A Move Database expression.
A Move Database expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#write-functions
-
def
Multiply(terms: Expr*): Expr
A Multiply expression.
A Multiply expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
NGram(terms: Expr, min: Expr = NullV, max: Expr = NullV): Expr
A NGram expression.
A NGram expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
NewId(): Expr
A New Id expression.
A New Id expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#miscellaneous-functions
-
def
Not(term: Expr): Expr
A Not expression.
A Not expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#logical-functions
-
def
Now(): Expr
Returns the current snapshot time.
Returns the current snapshot time.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/now
-
def
Null(): Expr
A Null value.
A Null value.
Reference: https://app.fauna.com/documentation/reference/queryapi#simple-type
-
def
Obj(pairs: (String, Expr)*): Expr
An Object value.
An Object value.
Reference: https://app.fauna.com/documentation/reference/queryapi#simple-type
-
def
Or(terms: Expr*): Expr
An Or expression.
An Or expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#logical-functions
-
def
Paginate(resource: Expr, cursor: Cursor = NoCursor, ts: Expr = Expr(NullV), size: Expr = Expr(NullV), sources: Expr = Expr(NullV), events: Expr = Expr(NullV)): Expr
A Paginate expression.
A Paginate expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#read-functions
-
def
Pow(num: Expr, exp: Expr): Expr
A Pow expression.
A Pow expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Pow(num: Expr): Expr
A Pow expression.
A Pow expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Prepend(elems: Expr, collection: Expr): Expr
A Prepend expression.
A Prepend expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#collections
- def Query(lambda: Expr): Expr
- macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
- macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
- macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
- macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
- macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
- macro def Query(fn: (Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
- macro def Query(fn: (Expr, Expr, Expr, Expr) ⇒ Expr): Expr
- macro def Query(fn: (Expr, Expr, Expr) ⇒ Expr): Expr
- macro def Query(fn: (Expr, Expr) ⇒ Expr): Expr
-
macro
def
Query(fn: (Expr) ⇒ Expr): Expr
A Query expression.
A Query expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#basic-forms
-
def
RTrim(value: Expr): Expr
A RTrim expression
A RTrim expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
Radians(num: Expr): Expr
A Radians expression.
A Radians expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Range(set: Expr, from: Expr, to: Expr): Expr
Filter the set based on the lower/upper bounds (inclusive).
Filter the set based on the lower/upper bounds (inclusive).
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/range
- set
set to be filtered
- from
lower bound
- to
upper bound
-
def
Reduce(lambda: Expr, initial: Expr, collection: Expr): Expr
A Reduce expression.
A Reduce expression.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/reduce
- def Ref(collectionRef: Expr, id: Expr): Expr
-
def
Ref(value: String): Expr
Creates a RefV value.
Creates a RefV value. The string "collections/widget/123" will be equivalent to:
RefV("123", RefV("widget", Native.Collections))
Reference: https://app.fauna.com/documentation/reference/queryapi#simple-type
-
def
RegexEscape(value: Expr): Expr
A RegexEscape expression
A RegexEscape expression
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/regexescape
- def Remove(ref: Expr, ts: Expr, action: Expr): Expr
-
def
Remove(ref: Expr, ts: Expr, action: Action): Expr
A Remove expression.
A Remove expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#write-functions
-
def
Repeat(value: Expr, number: Expr): Expr
A Repeat expression
A Repeat expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
Repeat(value: Expr): Expr
A Repeat expression
A Repeat expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
Replace(ref: Expr, params: Expr): Expr
A Replace expression.
A Replace expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#write-functions
-
def
ReplaceStr(value: Expr, find: Expr, replace: Expr): Expr
A ReplaceStr expression
A ReplaceStr expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
ReplaceStrRegex(value: Expr, pattern: Expr, replace: Expr, first: Expr): Expr
A ReplaceStrRegex expression
A ReplaceStrRegex expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
ReplaceStrRegex(value: Expr, pattern: Expr, replace: Expr): Expr
A ReplaceStrRegex expression
A ReplaceStrRegex expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
Role(name: Expr, scope: Expr): Expr
A Role expression.
A Role expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#miscellaneous-functions
-
def
Role(name: Expr): Expr
A Role expression.
A Role expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#miscellaneous-functions
-
def
Roles(scope: Expr = NullV): Expr
Native reference to all roles
-
def
Round(num: Expr, precision: Expr): Expr
A Round expression.
A Round expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Round(num: Expr): Expr
A Round expression.
A Round expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Second(term: Expr): Expr
Returns a time expression's second of the minute, from 0 to 59.
Returns a time expression's second of the minute, from 0 to 59.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-functions
- def Select(path: Expr, from: Expr, default: Expr): Expr
-
def
Select(path: Expr, from: Expr): Expr
A Select expression.
A Select expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#read-functions
-
def
SelectAsIndex(path: Expr, from: Expr): Expr
A SelectAsIndex expression.
A SelectAsIndex expression.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/selectasindex
-
def
Sign(num: Expr): Expr
A sign expression.
A sign expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Sin(num: Expr): Expr
A sin expression.
A sin expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Singleton(ref: Expr): Expr
A Singleton set.
A Singleton set.
Reference: https://app.fauna.com/documentation/reference/queryapi#sets
-
def
Sinh(num: Expr): Expr
A sinh expression.
A sinh expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Space(value: Expr): Expr
A Space expression
A Space expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
Sqrt(num: Expr): Expr
A sqrt expression.
A sqrt expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
StartsWith(value: Expr, search: Expr): Expr
A StartsWith expression
A StartsWith expression
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/startswith
-
def
SubString(value: Expr, start: Expr, length: Expr): Expr
A SubString expression
A SubString expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
SubString(value: Expr, start: Expr): Expr
A SubString expression
A SubString expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
SubString(value: Expr): Expr
A SubString expression
A SubString expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
Subtract(terms: Expr*): Expr
A Subtract expression.
A Subtract expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Sum(collection: Expr): Expr
Sum the elements in the collection.
Sum the elements in the collection.
Reference: https://docs.fauna.com/fauna/current/api/fql/functions/sum
-
def
Take(num: Expr, collection: Expr): Expr
A Take expression.
A Take expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#collections
-
def
Tan(num: Expr): Expr
A Tan expression.
A Tan expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Tanh(num: Expr): Expr
A Tanh expression.
A Tanh expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Time(str: Expr): Expr
A Time expression.
A Time expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-and-date
- def TimeAdd(base: Expr, offset: Expr, unit: TimeUnit): Expr
-
def
TimeAdd(base: Expr, offset: Expr, unit: Expr): Expr
A TimeAdd expression.
A TimeAdd expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-and-date
- def TimeDiff(start: Expr, finish: Expr, unit: TimeUnit): Expr
-
def
TimeDiff(start: Expr, finish: Expr, unit: Expr): Expr
A TimeDiff expression.
A TimeDiff expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-and-date
- def TimeSubtract(base: Expr, offset: Expr, unit: TimeUnit): Expr
-
def
TimeSubtract(base: Expr, offset: Expr, unit: Expr): Expr
A TimeSubtract expression.
A TimeSubtract expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-and-date
-
def
TitleCase(value: Expr): Expr
A TitleCase expression
A TitleCase expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
ToArray(obj: Expr): Expr
Try to convert an object into an array of (field, value).
-
def
ToDate(term: Expr): Expr
Casts an expression to a data value, if possible.
Casts an expression to a data value, if possible.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-functions
-
def
ToDouble(term: Expr): Expr
Casts an expression to a double value, if possible.
-
def
ToInteger(term: Expr): Expr
Casts an expression to an integer value, if possible.
-
def
ToMicros(term: Expr): Expr
Converts a time expression to microseconds since the UNIX epoch.
Converts a time expression to microseconds since the UNIX epoch.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-functions
-
def
ToMillis(term: Expr): Expr
Converts a time expression to milliseconds since the UNIX epoch.
Converts a time expression to milliseconds since the UNIX epoch.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-functions
-
def
ToNumber(term: Expr): Expr
Casts an expression to a numeric value, if possible.
-
def
ToObject(fields: Expr): Expr
Try to convert an array of (field, value) into an object.
-
def
ToSeconds(term: Expr): Expr
Converts a time expression to seconds since the UNIX epoch.
Converts a time expression to seconds since the UNIX epoch.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-functions
-
def
ToString(term: Expr): Expr
Casts an expression to a string value, if possible.
-
def
ToTime(term: Expr): Expr
Casts an expression to a time value, if possible.
Casts an expression to a time value, if possible.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-functions
-
def
Tokens(scope: Expr = NullV): Expr
Native reference to all tokens
-
def
Trim(term: Expr): Expr
A Trim expression
A Trim expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
Trunc(num: Expr, precision: Expr): Expr
A Trunc expression.
A Trunc expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Trunc(num: Expr): Expr
A Trunc expression.
A Trunc expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#mathematical-functions
-
def
Union(sets: Expr*): Expr
A Union set.
A Union set.
Reference: https://app.fauna.com/documentation/reference/queryapi#sets
-
def
Update(ref: Expr, params: Expr): Expr
An Update expression.
An Update expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#write-functions
-
def
UpperCase(term: Expr): Expr
A UpperCase expression
A UpperCase expression
Reference': https://app.fauna.com/documentation/reference/queryapi#string-functions
-
def
Var(name: String): Expr
A Var expression.
A Var expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#basic-forms
-
def
Year(term: Expr): Expr
Returns the time expression's year, following the ISO-8601 standard.
Returns the time expression's year, following the ISO-8601 standard.
Reference: https://app.fauna.com/documentation/reference/queryapi#time-functions
- implicit def intToPath(int: Int): Path
- implicit def pathToExpr(path: Path): Expr
- implicit def strToPath(str: String): Path
- object Action
- object Cursor
- object Expr extends Serializable
- object NoCursor extends Cursor with Product with Serializable
- object Normalizer
- object TimeUnit
Deprecated Value Members
-
def
Class(name: Expr, scope: Expr): Expr
A Class expression.
A Class expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#miscellaneous-functions
- Annotations
- @deprecated
- Deprecated
use Collection instead
-
def
Class(name: Expr): Expr
A Class expression.
A Class expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#miscellaneous-functions
- Annotations
- @deprecated
- Deprecated
use Collection instead
-
def
Classes(scope: Expr = NullV): Expr
Native reference to all classes
Native reference to all classes
- Annotations
- @deprecated
- Deprecated
use Collections instead
-
def
CreateClass(params: Expr): Expr
A Create Class expression.
A Create Class expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#write-functions
- Annotations
- @deprecated
- Deprecated
use CreateCollection instead
-
def
NextId(): Expr
A Next Id expression.
A Next Id expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#miscellaneous-functions
- Annotations
- @deprecated
- Deprecated
use NewId instead
-
def
SelectAll(path: Expr, from: Expr): Expr
A SelectAll expression.
A SelectAll expression.
Reference: https://app.fauna.com/documentation/reference/queryapi#read-functions
- Annotations
- @deprecated
- Deprecated
use SelectAsIndex instead