Warning:
Fauna is decommissioning FQL v4 on June 30, 2025.

This driver is not compatible with FQL v10, the latest version. Fauna accounts created after August 21, 2024 must use FQL v10.
Ensure you migrate existing projects to the official v10 driver by the v4 EOL date: https://github.com/fauna/fauna-jvm.

For more information, see the v4 end of life (EOL) announcement and related FAQ.

Packages

p

faunadb

query

package query

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. query
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. sealed abstract class Action extends AnyRef

    Enumeration for event action types.

  2. case class After(expr: Expr) extends Cursor with Product with Serializable
  3. case class Before(expr: Expr) extends Cursor with Product with Serializable
  4. sealed trait Cursor extends AnyRef

    Helper for pagination cursors

  5. final case class Expr extends AnyVal with Product with Serializable

    A query language expression.

  6. sealed abstract class Normalizer extends AnyRef

    Enumeration for casefold operation.

  7. final case class Path extends AnyVal with Product with Serializable

    Helper for path syntax

  8. class QueryMacros extends AnyRef
  9. case class RawCursor(expr: Expr) extends Cursor with Product with Serializable
  10. sealed abstract class TimeUnit extends AnyRef

    Enumeration for time units.

Value Members

  1. def Abort(msg: Expr): Expr

    A Abort expression.

  2. def Abs(num: Expr): Expr

    An Abs expression.

  3. def AccessProvider(name: Expr, scope: Expr): Expr

    An Access Provider expression.

  4. def AccessProvider(name: Expr): Expr

    An Access Provider expression.

  5. def AccessProviders(scope: Expr = NullV): Expr

    Native reference to all access providers

  6. def Acos(num: Expr): Expr

    An Acos expression.

  7. def Add(terms: Expr*): Expr

    An Add expression.

  8. 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?lang=scala

  9. def And(terms: Expr*): Expr

    An And expression.

  10. 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?lang=scala

  11. def Append(elems: Expr, collection: Expr): Expr

    An Append expression.

  12. def Arr(elems: Expr*): Expr

    An Array value.

  13. def Asin(num: Expr): Expr

    An Asin expression.

  14. def At(timestamp: Expr, expr: Expr): Expr

    A At expression.

  15. def Atan(num: Expr): Expr

    An Atan expression.

  16. def BitAnd(terms: Expr*): Expr

    An BitAnd expression.

  17. def BitNot(num: Expr): Expr

    A BitNot expression.

  18. def BitOr(terms: Expr*): Expr

    An BitOr expression.

  19. def BitXor(terms: Expr*): Expr

    An BitXor expression.

  20. def Call(ref: Expr, arguments: Expr*): Expr

    A Call expression.

  21. def Casefold(term: Expr, normalizer: Expr): Expr

    A Casefold expression.

  22. def Casefold(term: Expr, normalizer: Normalizer): Expr

    A Casefold expression.

  23. def Casefold(term: Expr): Expr

    A Casefold expression.

  24. def Ceil(num: Expr): Expr

    A Ceil expression.

  25. def Collection(name: Expr, scope: Expr): Expr

    A Collection expression.

  26. def Collection(name: Expr): Expr

    A Collection expression.

  27. def Collections(scope: Expr = NullV): Expr

    Native reference to all classes

  28. def Concat(term: Expr, separator: Expr): Expr
  29. def Concat(term: Expr): Expr

    A Concat expression.

  30. def ContainsField(field: Expr, in: Expr): Expr

    A ContainsField expression.

  31. def ContainsPath(path: Expr, in: Expr): Expr

    A ContainsPath expression.

  32. def ContainsStr(value: Expr, search: Expr): Expr

    A ContainsStr expression

  33. def ContainsStrRegex(value: Expr, pattern: Expr): Expr

    A ContainsStrRegex expression

  34. def ContainsValue(value: Expr, in: Expr): Expr

    A ContainsValue expression.

  35. def Cos(num: Expr): Expr

    A Cos expression.

  36. def Cosh(num: Expr): Expr

    A Cosh expression.

  37. 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?lang=scala

  38. def Create(ref: Expr, params: Expr): Expr

    A Create expression.

  39. def CreateAccessProvider(params: Expr): Expr

    An CreateAccessProvider expression.

    An CreateAccessProvider expression.

    params

    An object of parameters used to create a new access provider.

  40. def CreateCollection(params: Expr): Expr

    A Create Collection expression.

  41. def CreateDatabase(params: Expr): Expr

    A Create Database expression.

  42. def CreateFunction(params: Expr): Expr

    A Create Function expression.

  43. def CreateIndex(params: Expr): Expr

    A Create Index expression.

  44. def CreateKey(params: Expr): Expr

    A Create Key expression.

  45. def CreateRole(params: Expr): Expr

    A Create Role expression.

  46. def Credentials(scope: Expr = NullV): Expr

    Native reference to all credentials

  47. def CurrentIdentity(): Expr

    A CurrentIdentity expression.

  48. def CurrentToken(): Expr

    A CurrentToken expression.

  49. def Database(name: Expr, scope: Expr): Expr

    A Database expression.

  50. def Database(name: Expr): Expr

    A Database expression.

  51. def Databases(scope: Expr = NullV): Expr

    Native reference to all databases

  52. def Date(str: Expr): Expr

    A Date expression.

  53. 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://docs.fauna.com/fauna/current/api/fql/functions/dayofmonth?lang=scala

  54. 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://docs.fauna.com/fauna/current/api/fql/functions/dayofweek?lang=scala

  55. 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://docs.fauna.com/fauna/current/api/fql/functions/dayofyear?lang=scala

  56. def Degrees(num: Expr): Expr

    A Degrees expression.

  57. def Delete(ref: Expr): Expr

    A Delete expression.

  58. def Difference(sets: Expr*): Expr

    A Difference set.

  59. def Distinct(set: Expr): Expr

    A Distinct set.

  60. def Divide(terms: Expr*): Expr

    A Divide expression.

  61. def Do(exprs: Expr*): Expr

    A Do expression.

  62. def Documents(collection: Expr): Expr

    Returns a set of all documents in the given collection

  63. def Drop(num: Expr, collection: Expr): Expr

    A Drop expression.

  64. def EndsWith(value: Expr, search: Expr): Expr

    An EndsWith expression

  65. def Epoch(num: Expr, unit: Expr): Expr

    An Epoch expression.

  66. def Epoch(num: Expr, unit: TimeUnit): Expr

    An Epoch expression.

  67. def Equals(terms: Expr*): Expr

    An Equals expression.

  68. def Events(refSet: Expr): Expr

    A Events set.

  69. def Exists(ref: Expr, ts: Expr): Expr
  70. def Exists(ref: Expr): Expr

    An Exists expression.

  71. def Exp(num: Expr): Expr

    An Exp expression.

  72. def Filter(collection: Expr, lambda: Expr): Expr

    A Filter expression.

  73. def FindStr(value: Expr, find: Expr, start: Expr): Expr

    A FindStr expression

  74. def FindStr(value: Expr, find: Expr): Expr

    A FindStr expression

  75. def FindStrRegex(value: Expr, pattern: Expr, start: Expr, num_results: Expr): Expr

    A FindStrRegex expression

  76. def FindStrRegex(value: Expr, pattern: Expr, start: Expr): Expr

    A FindStrRegex expression

  77. def Floor(num: Expr): Expr

    A Floor expression.

  78. def Foreach(collection: Expr, lambda: Expr): Expr

    A Foreach expression.

  79. def Format(format: Expr, values: Expr*): Expr

    A Format expression

  80. def Function(name: Expr, scope: Expr): Expr

    A Function expression.

  81. def Function(name: Expr): Expr

    A Function expression.

  82. def Functions(scope: Expr = NullV): Expr

    Native reference to all functions

  83. def GT(terms: Expr*): Expr

    A GT expression.

  84. def GTE(terms: Expr*): Expr

    A GTE expression.

  85. def Get(resource: Expr, ts: Expr): Expr
  86. def Get(resource: Expr): Expr

    A Get expression.

  87. def HasCurrentIdentity(): Expr

    A HasCurrentIdentity expression.

  88. def HasCurrentToken(): Expr

    A HasCurrentToken expression.

  89. 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://docs.fauna.com/fauna/current/api/fql/functions/hour?lang=scala

  90. def Hypot(num: Expr, exp: Expr): Expr

    A Hypot expression.

  91. def Hypot(num: Expr): Expr

    A Hypot expression.

  92. def Identify(ref: Expr, password: Expr): Expr

    An Identify expression.

  93. def If(pred: Expr, then: Expr, else: Expr): Expr

    An If expression.

  94. def Index(name: Expr, scope: Expr): Expr

    An Index expression.

  95. def Index(name: Expr): Expr

    An Index expression.

  96. def Indexes(scope: Expr = NullV): Expr

    Native reference to all indexes

  97. def Insert(ref: Expr, ts: Expr, action: Expr, params: Expr): Expr
  98. def Insert(ref: Expr, ts: Expr, action: Action, params: Expr): Expr

    An Insert expression.

  99. def Intersection(sets: Expr*): Expr

    An Intersection set.

  100. def IsArray(expr: Expr): Expr

    Check if the expression is an array.

  101. def IsBoolean(expr: Expr): Expr

    Check if the expression is a boolean.

  102. 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?lang=scala

  103. 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?lang=scala

  104. 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?lang=scala

  105. def IsDatabase(expr: Expr): Expr

    Check if the expression is a database.

  106. def IsDate(expr: Expr): Expr

    Check if the expression is a date.

  107. 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?lang=scala

  108. def IsDouble(expr: Expr): Expr

    Check if the expression is a double.

  109. def IsEmpty(collection: Expr): Expr

    A IsEmpty expression.

  110. def IsFunction(expr: Expr): Expr

    Check if the expression is a function.

  111. def IsIndex(expr: Expr): Expr

    Check if the expression is an index.

  112. 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?lang=scala

  113. def IsKey(expr: Expr): Expr

    Check if the expression is a key.

  114. def IsLambda(expr: Expr): Expr

    Check if the expression is a lambda.

  115. def IsNonEmpty(collection: Expr): Expr

    A IsNonEmpty expression.

  116. def IsNull(expr: Expr): Expr

    Check if the expression is null.

  117. def IsNumber(expr: Expr): Expr

    Check if the expression is a number.

  118. def IsObject(expr: Expr): Expr

    Check if the expression is an object.

  119. 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?lang=scala

  120. def IsRole(expr: Expr): Expr

    Check if the expression is a role.

  121. def IsSet(expr: Expr): Expr

    Check if the expression is a set.

  122. def IsString(expr: Expr): Expr

    Check if the expression is a string.

  123. def IsTimestamp(expr: Expr): Expr

    Check if the expression is a timestamp.

  124. def IsToken(expr: Expr): Expr

    Check if the expression is a token.

  125. def Join(source: Expr, with: Expr): Expr

    A Join set.

  126. def KeyFromSecret(secret: Expr): Expr

    A KeyFromSecret expression.

  127. def Keys(scope: Expr = NullV): Expr

    Native reference to all keys

  128. def LT(terms: Expr*): Expr

    A LT expression.

  129. def LTE(terms: Expr*): Expr

    A LTE expression.

  130. def LTrim(value: Expr): Expr

    A LTrim expression

  131. def Lambda(lambda: Expr, expr: Expr): Expr
  132. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  133. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  134. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  135. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  136. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  137. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  138. macro def Lambda(fn: (Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  139. macro def Lambda(fn: (Expr, Expr, Expr) ⇒ Expr): Expr
  140. macro def Lambda(fn: (Expr, Expr) ⇒ Expr): Expr
  141. macro def Lambda(fn: (Expr) ⇒ Expr): Expr

    A Lambda expression.

  142. def Length(value: Expr): Expr

    A Length expression

  143. def Let(bindings: Seq[(String, Expr)], in: Expr): Expr
  144. macro def Let(block: ⇒ Any): Expr

    A Let expression.

  145. def Ln(num: Expr): Expr

    A ln expression.

  146. def Log(num: Expr): Expr

    A Log expression.

  147. def Login(ref: Expr, params: Expr): Expr

    A Login expression.

  148. def Logout(invalidateAll: Expr): Expr

    A Logout expression.

  149. def LowerCase(value: Expr): Expr

    A LowerCase expression

  150. def Map(collection: Expr, lambda: Expr): Expr

    A Map expression.

  151. def Match(index: Expr, terms: Expr*): Expr

    A Match set.

  152. def Max(terms: Expr*): Expr

    A Max expression.

  153. 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?lang=scala

  154. 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://docs.fauna.com/fauna/current/api/fql/functions/merge?lang=scala

  155. 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://docs.fauna.com/fauna/current/api/fql/functions/merge?lang=scala

  156. def Min(terms: Expr*): Expr

    A Min expression.

  157. 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://docs.fauna.com/fauna/current/api/fql/functions/minute?lang=scala

  158. def Modulo(terms: Expr*): Expr

    A Modulo expression.

  159. 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://docs.fauna.com/fauna/current/api/fql/functions/month?lang=scala

  160. def MoveDatabase(from: Expr, to: Expr): Expr

    A Move Database expression.

  161. def Multiply(terms: Expr*): Expr

    A Multiply expression.

  162. def NGram(terms: Expr, min: Expr = NullV, max: Expr = NullV): Expr

    A NGram expression.

  163. def NewId(): Expr

    A New Id expression.

  164. def Not(term: Expr): Expr

    A Not expression.

  165. def Now(): Expr

    Returns the current snapshot time.

    Returns the current snapshot time.

    Reference: https://docs.fauna.com/fauna/current/api/fql/functions/now?lang=scala

  166. def Null(): Expr

    A Null value.

  167. def Obj(pairs: (String, Expr)*): Expr

    An Object value.

  168. def Or(terms: Expr*): Expr

    An Or expression.

  169. def Paginate(resource: Expr, cursor: Cursor = NoCursor, ts: Expr = Null(), size: Expr = Null(), sources: Expr = Null(), events: Expr = Null()): Expr

    A Paginate expression.

  170. def Pow(num: Expr, exp: Expr): Expr

    A Pow expression.

  171. def Pow(num: Expr): Expr

    A Pow expression.

  172. def Prepend(elems: Expr, collection: Expr): Expr

    A Prepend expression.

  173. def Query(lambda: Expr): Expr
  174. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  175. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  176. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  177. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  178. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  179. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  180. macro def Query(fn: (Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  181. macro def Query(fn: (Expr, Expr, Expr) ⇒ Expr): Expr
  182. macro def Query(fn: (Expr, Expr) ⇒ Expr): Expr
  183. macro def Query(fn: (Expr) ⇒ Expr): Expr

    A Query expression.

  184. def RTrim(value: Expr): Expr

    A RTrim expression

  185. def Radians(num: Expr): Expr

    A Radians expression.

  186. 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?lang=scala

    set

    set to be filtered

    from

    lower bound

    to

    upper bound

  187. def Reduce(lambda: Expr, initial: Expr, collection: Expr): Expr

    A Reduce expression.

  188. def Ref(collectionRef: Expr, id: Expr): Expr
  189. 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://docs.fauna.com/fauna/current/api/fql/types?lang=scala#ref

  190. def RegexEscape(value: Expr): Expr

    A RegexEscape expression

  191. def Remove(ref: Expr, ts: Expr, action: Expr): Expr
  192. def Remove(ref: Expr, ts: Expr, action: Action): Expr

    A Remove expression.

  193. def Repeat(value: Expr, number: Expr): Expr

    A Repeat expression

  194. def Repeat(value: Expr): Expr

    A Repeat expression

  195. def Replace(ref: Expr, params: Expr): Expr

    A Replace expression.

  196. def ReplaceStr(value: Expr, find: Expr, replace: Expr): Expr

    A ReplaceStr expression

  197. def ReplaceStrRegex(value: Expr, pattern: Expr, replace: Expr, first: Expr): Expr

    A ReplaceStrRegex expression

  198. def ReplaceStrRegex(value: Expr, pattern: Expr, replace: Expr): Expr

    A ReplaceStrRegex expression

  199. def Reverse(source: Expr): Expr

    A Reverse expression.

  200. def Role(name: Expr, scope: Expr): Expr

    A Role expression.

  201. def Role(name: Expr): Expr

    A Role expression.

  202. def Roles(scope: Expr = NullV): Expr

    Native reference to all roles

  203. def Round(num: Expr, precision: Expr): Expr

    A Round expression.

  204. def Round(num: Expr): Expr

    A Round expression.

  205. 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://docs.fauna.com/fauna/current/api/fql/functions/second?lang=scala

  206. def Select(path: Expr, from: Expr, default: Expr): Expr

    A Select expression.

  207. def Select(path: Expr, from: Expr): Expr

    A Select expression.

  208. def SelectAsIndex(path: Expr, from: Expr): Expr

    A SelectAsIndex expression.

  209. def Sign(num: Expr): Expr

    A sign expression.

  210. def Sin(num: Expr): Expr

    A sin expression.

  211. def Singleton(ref: Expr): Expr

    A Singleton set.

  212. def Sinh(num: Expr): Expr

    A sinh expression.

  213. def Space(value: Expr): Expr

    A Space expression

  214. def Sqrt(num: Expr): Expr

    A sqrt expression.

  215. def StartsWith(value: Expr, search: Expr): Expr

    A StartsWith expression

  216. def SubString(value: Expr, start: Expr, length: Expr): Expr

    A SubString expression

  217. def SubString(value: Expr, start: Expr): Expr

    A SubString expression

  218. def SubString(value: Expr): Expr

    A SubString expression

  219. def Subtract(terms: Expr*): Expr

    A Subtract expression.

  220. 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?lang=scala

  221. def Take(num: Expr, collection: Expr): Expr

    A Take expression.

  222. def Tan(num: Expr): Expr

    A Tan expression.

  223. def Tanh(num: Expr): Expr

    A Tanh expression.

  224. def Time(str: Expr): Expr

    A Time expression.

  225. def TimeAdd(base: Expr, offset: Expr, unit: TimeUnit): Expr

    A TimeAdd expression.

  226. def TimeAdd(base: Expr, offset: Expr, unit: Expr): Expr

    A TimeAdd expression.

  227. def TimeDiff(start: Expr, finish: Expr, unit: TimeUnit): Expr

    A TimeDiff expression.

  228. def TimeDiff(start: Expr, finish: Expr, unit: Expr): Expr

    A TimeDiff expression.

  229. def TimeSubtract(base: Expr, offset: Expr, unit: TimeUnit): Expr

    A TimeSubtract expression.

  230. def TimeSubtract(base: Expr, offset: Expr, unit: Expr): Expr

    A TimeSubtract expression.

  231. def TitleCase(value: Expr): Expr

    A TitleCase expression

  232. def ToArray(obj: Expr): Expr

    Try to convert an object into an array of (field, value).

    Try to convert an object into an array of (field, value).

    Reference: https://docs.fauna.com/fauna/current/api/fql/functions/toarray?lang=scala

  233. 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://docs.fauna.com/fauna/current/api/fql/functions/todate?lang=scala

  234. def ToDouble(term: Expr): Expr

    Casts an expression to a double value, if possible.

    Casts an expression to a double value, if possible.

    Reference: https://docs.fauna.com/fauna/current/api/fql/functions/todouble?lang=scala

  235. def ToInteger(term: Expr): Expr

    Casts an expression to an integer value, if possible.

    Casts an expression to an integer value, if possible.

    Reference: https://docs.fauna.com/fauna/current/api/fql/functions/tointeger?lang=scala

  236. 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://docs.fauna.com/fauna/current/api/fql/functions/tomicros?lang=scala

  237. 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://docs.fauna.com/fauna/current/api/fql/functions/tomillis?lang=scala

  238. def ToNumber(term: Expr): Expr

    Casts an expression to a numeric value, if possible.

    Casts an expression to a numeric value, if possible.

    Reference: https://docs.fauna.com/fauna/current/api/fql/functions/tonumber?lang=scala

  239. def ToObject(fields: Expr): Expr

    Try to convert an array of (field, value) into an object.

    Try to convert an array of (field, value) into an object.

    Reference: https://docs.fauna.com/fauna/current/api/fql/functions/toobject?lang=scala

  240. 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://docs.fauna.com/fauna/current/api/fql/functions/toseconds?lang=scala

  241. def ToString(term: Expr): Expr

    Casts an expression to a string value, if possible.

    Casts an expression to a string value, if possible.

    Reference: https://docs.fauna.com/fauna/current/api/fql/functions/tostring?lang=scala

  242. 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://docs.fauna.com/fauna/current/api/fql/functions/totime?lang=scala

  243. def Tokens(scope: Expr = NullV): Expr

    Native reference to all tokens

  244. def Trim(term: Expr): Expr

    A Trim expression

  245. def Trunc(num: Expr, precision: Expr): Expr

    A Trunc expression.

  246. def Trunc(num: Expr): Expr

    A Trunc expression.

  247. def Union(sets: Expr*): Expr

    A Union set.

  248. def Update(ref: Expr, params: Expr): Expr

    An Update expression.

  249. def UpperCase(term: Expr): Expr

    A UpperCase expression

  250. def Var(name: String): Expr

    A Var expression.

  251. 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://docs.fauna.com/fauna/current/api/fql/functions/year?lang=scala

  252. implicit def intToPath(int: Int): Path
  253. implicit def pathToExpr(path: Path): Expr
  254. implicit def strToPath(str: String): Path
  255. object Action
  256. object Cursor
  257. object Expr extends Serializable
  258. object NoCursor extends Cursor with Product with Serializable
  259. object Normalizer
  260. object TimeUnit

Deprecated Value Members

  1. def Class(name: Expr, scope: Expr): Expr

    A Class expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.7.0) use Collection instead

  2. def Class(name: Expr): Expr

    A Class expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.7.0) use Collection instead

  3. def Classes(scope: Expr = NullV): Expr

    Native reference to all classes

    Native reference to all classes

    Annotations
    @deprecated
    Deprecated

    (Since version 2.7.0) use Collections instead

  4. def Contains(path: Expr, in: Expr): Expr

    A Contains expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) use ContainsPath instead

  5. def CreateClass(params: Expr): Expr

    A Create Class expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.7.0) use CreateCollection instead

  6. def HasIdentity(): Expr

    A HasIdentity expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 4.0.0) use HasCurrentIdentity instead

  7. def Identity(): Expr

    An Identity expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 4.0.0) use CurrentIdentity instead

  8. def NextId(): Expr

    A Next Id expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.7.0) use NewId instead

  9. def SelectAll(path: Expr, from: Expr): Expr

    A SelectAll expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use SelectAsIndex instead

Inherited from AnyRef

Inherited from Any

Ungrouped