Package

faunadb

query

Permalink

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

    Permalink

    Enumeration for event action types.

  2. case class After(expr: Expr) extends Cursor with Product with Serializable

    Permalink
  3. case class Before(expr: Expr) extends Cursor with Product with Serializable

    Permalink
  4. sealed trait Cursor extends AnyRef

    Permalink

    Helper for pagination cursors

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

    Permalink

    A query language expression.

  6. sealed abstract class Normalizer extends AnyRef

    Permalink

    Enumeration for casefold operation.

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

    Permalink

    Helper for path syntax

  8. class QueryMacros extends AnyRef

    Permalink
  9. case class RawCursor(expr: Expr) extends Cursor with Product with Serializable

    Permalink
  10. sealed abstract class TimeUnit extends AnyRef

    Permalink

    Enumeration for time units.

Value Members

  1. def Abort(msg: Expr): Expr

    Permalink

    A Abort expression.

  2. def Abs(num: Expr): Expr

    Permalink

    An Abs expression.

  3. def Acos(num: Expr): Expr

    Permalink

    An Acos expression.

  4. object Action

    Permalink
  5. def Add(terms: Expr*): Expr

    Permalink

    An Add expression.

  6. def All(collection: Expr): Expr

    Permalink

    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

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

    Permalink

    An And expression.

  8. def Any(collection: Expr): Expr

    Permalink

    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

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

    Permalink

    An Append expression.

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

    Permalink

    An Array value.

  11. def Asin(num: Expr): Expr

    Permalink

    An Asin expression.

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

    Permalink

    A At expression.

  13. def Atan(num: Expr): Expr

    Permalink

    An Atan expression.

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

    Permalink

    An BitAnd expression.

  15. def BitNot(num: Expr): Expr

    Permalink

    A BitNot expression.

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

    Permalink

    An BitOr expression.

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

    Permalink

    An BitXor expression.

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

    Permalink

    A Call expression.

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

    Permalink
  20. def Casefold(term: Expr, normalizer: Normalizer): Expr

    Permalink
  21. def Casefold(term: Expr): Expr

    Permalink

    A Casefold expression.

  22. def Ceil(num: Expr): Expr

    Permalink

    A Ceil expression.

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

    Permalink

    A Collection expression.

  24. def Collection(name: Expr): Expr

    Permalink

    A Collection expression.

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

    Permalink

    Native reference to all classes

  26. def Concat(term: Expr, separator: Expr): Expr

    Permalink
  27. def Concat(term: Expr): Expr

    Permalink

    A Concat expression.

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

    Permalink

    A ContainsField expression.

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

    Permalink

    A ContainsPath expression.

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

    Permalink

    A ContainsStr expression

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

    Permalink

    A ContainsStrRegex expression

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

    Permalink

    A ContainsValue expression.

  33. def Cos(num: Expr): Expr

    Permalink

    A Cos expression.

  34. def Cosh(num: Expr): Expr

    Permalink

    A Cosh expression.

  35. def Count(collection: Expr): Expr

    Permalink

    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

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

    Permalink

    A Create expression.

  37. def CreateCollection(params: Expr): Expr

    Permalink

    A Create Collection expression.

  38. def CreateDatabase(params: Expr): Expr

    Permalink

    A Create Database expression.

  39. def CreateFunction(params: Expr): Expr

    Permalink

    A Create Function expression.

  40. def CreateIndex(params: Expr): Expr

    Permalink

    A Create Index expression.

  41. def CreateKey(params: Expr): Expr

    Permalink

    A Create Key expression.

  42. def CreateRole(params: Expr): Expr

    Permalink

    A Create Role expression.

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

    Permalink

    Native reference to all credentials

  44. object Cursor

    Permalink
  45. def Database(name: Expr, scope: Expr): Expr

    Permalink

    A Database expression.

  46. def Database(name: Expr): Expr

    Permalink

    A Database expression.

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

    Permalink

    Native reference to all databases

  48. def Date(str: Expr): Expr

    Permalink

    A Date expression.

  49. def DayOfMonth(term: Expr): Expr

    Permalink

    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

  50. def DayOfWeek(term: Expr): Expr

    Permalink

    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

  51. def DayOfYear(term: Expr): Expr

    Permalink

    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

  52. def Degrees(num: Expr): Expr

    Permalink

    A Degrees expression.

  53. def Delete(ref: Expr): Expr

    Permalink

    A Delete expression.

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

    Permalink

    A Difference set.

  55. def Distinct(set: Expr): Expr

    Permalink

    A Distinct set.

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

    Permalink

    A Divide expression.

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

    Permalink

    A Do expression.

  58. def Documents(collection: Expr): Expr

    Permalink

    Returns a set of all documents in the given collection

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

    Permalink

    A Drop expression.

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

    Permalink

    An EndsWith expression

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

    Permalink
  62. def Epoch(num: Expr, unit: TimeUnit): Expr

    Permalink

    An Epoch expression.

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

    Permalink

    An Equals expression.

  64. def Events(refSet: Expr): Expr

    Permalink

    A Events set.

  65. def Exists(ref: Expr, ts: Expr): Expr

    Permalink
  66. def Exists(ref: Expr): Expr

    Permalink

    An Exists expression.

  67. def Exp(num: Expr): Expr

    Permalink

    An Exp expression.

  68. object Expr extends Serializable

    Permalink
  69. def Filter(collection: Expr, lambda: Expr): Expr

    Permalink

    A Filter expression.

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

    Permalink
  71. def FindStr(value: Expr, find: Expr): Expr

    Permalink

    A FindStr expression

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

    Permalink

    A FindStrRegex expression

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

    Permalink

    A FindStrRegex expression

  74. def Floor(num: Expr): Expr

    Permalink

    A Floor expression.

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

    Permalink

    A Foreach expression.

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

    Permalink

    A Format expression

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

    Permalink

    A Function expression.

  78. def Function(name: Expr): Expr

    Permalink

    A Function expression.

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

    Permalink

    Native reference to all functions

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

    Permalink

    A GT expression.

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

    Permalink

    A GTE expression.

  82. def Get(resource: Expr, ts: Expr): Expr

    Permalink
  83. def Get(resource: Expr): Expr

    Permalink

    A Get expression.

  84. def HasIdentity(): Expr

    Permalink

    An HasIdentity expression.

  85. def Hour(term: Expr): Expr

    Permalink

    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

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

    Permalink

    A Hypot expression.

  87. def Hypot(num: Expr): Expr

    Permalink

    A Hypot expression.

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

    Permalink

    An Identify expression.

  89. def Identity(): Expr

    Permalink

    An Identity expression.

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

    Permalink

    An If expression.

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

    Permalink

    An Index expression.

  92. def Index(name: Expr): Expr

    Permalink

    An Index expression.

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

    Permalink

    Native reference to all indexes

  94. def Insert(ref: Expr, ts: Expr, action: Expr, params: Expr): Expr

    Permalink
  95. def Insert(ref: Expr, ts: Expr, action: Action, params: Expr): Expr

    Permalink

    An Insert expression.

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

    Permalink

    An Intersection set.

  97. def IsArray(expr: Expr): Expr

    Permalink

    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

  98. def IsBoolean(expr: Expr): Expr

    Permalink

    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

  99. def IsBytes(expr: Expr): Expr

    Permalink

    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

  100. def IsCollection(expr: Expr): Expr

    Permalink

    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

  101. def IsCredentials(expr: Expr): Expr

    Permalink

    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

  102. def IsDatabase(expr: Expr): Expr

    Permalink

    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

  103. def IsDate(expr: Expr): Expr

    Permalink

    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

  104. def IsDoc(expr: Expr): Expr

    Permalink

    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

  105. def IsDouble(expr: Expr): Expr

    Permalink

    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

  106. def IsEmpty(collection: Expr): Expr

    Permalink

    A IsEmpty expression.

  107. def IsFunction(expr: Expr): Expr

    Permalink

    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

  108. def IsIndex(expr: Expr): Expr

    Permalink

    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

  109. def IsInteger(expr: Expr): Expr

    Permalink

    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

  110. def IsKey(expr: Expr): Expr

    Permalink

    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

  111. def IsLambda(expr: Expr): Expr

    Permalink

    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

  112. def IsNonEmpty(collection: Expr): Expr

    Permalink

    A IsNonEmpty expression.

  113. def IsNull(expr: Expr): Expr

    Permalink

    Check if the expression is null.

    Check if the expression is null.

    Reference: https://docs.fauna.com/fauna/current/api/fql/functions/isnull

  114. def IsNumber(expr: Expr): Expr

    Permalink

    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

  115. def IsObject(expr: Expr): Expr

    Permalink

    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

  116. def IsRef(expr: Expr): Expr

    Permalink

    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

  117. def IsRole(expr: Expr): Expr

    Permalink

    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

  118. def IsSet(expr: Expr): Expr

    Permalink

    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

  119. def IsString(expr: Expr): Expr

    Permalink

    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

  120. def IsTimestamp(expr: Expr): Expr

    Permalink

    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

  121. def IsToken(expr: Expr): Expr

    Permalink

    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

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

    Permalink

    A Join set.

  123. def KeyFromSecret(secret: Expr): Expr

    Permalink

    A KeyFromSecret expression.

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

    Permalink

    Native reference to all keys

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

    Permalink

    A LT expression.

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

    Permalink

    A LTE expression.

  127. def LTrim(value: Expr): Expr

    Permalink

    A LTrim expression

  128. def Lambda(lambda: Expr, expr: Expr): Expr

    Permalink
  129. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr

    Permalink
  130. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr

    Permalink
  131. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr

    Permalink
  132. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr

    Permalink
  133. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr

    Permalink
  134. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr

    Permalink
  135. macro def Lambda(fn: (Expr, Expr, Expr, Expr) ⇒ Expr): Expr

    Permalink
  136. macro def Lambda(fn: (Expr, Expr, Expr) ⇒ Expr): Expr

    Permalink
  137. macro def Lambda(fn: (Expr, Expr) ⇒ Expr): Expr

    Permalink
  138. macro def Lambda(fn: (Expr) ⇒ Expr): Expr

    Permalink

    A Lambda expression.

  139. def Length(value: Expr): Expr

    Permalink

    A Length expression

  140. def Let(bindings: Seq[(String, Expr)], in: Expr): Expr

    Permalink
  141. macro def Let(block: ⇒ Any): Expr

    Permalink

    A Let expression.

  142. def Ln(num: Expr): Expr

    Permalink

    A ln expression.

  143. def Log(num: Expr): Expr

    Permalink

    A Log expression.

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

    Permalink

    A Login expression.

  145. def Logout(invalidateAll: Expr): Expr

    Permalink

    A Logout expression.

  146. def LowerCase(value: Expr): Expr

    Permalink

    A LowerCase expression

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

    Permalink

    A Map expression.

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

    Permalink

    A Match set.

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

    Permalink

    A Max expression.

  150. def Mean(collection: Expr): Expr

    Permalink

    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

  151. def Merge(merge: Expr, with: Expr, lambda: Expr): Expr

    Permalink

    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

  152. def Merge(merge: Expr, with: Expr): Expr

    Permalink

    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

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

    Permalink

    A Min expression.

  154. def Minute(term: Expr): Expr

    Permalink

    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

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

    Permalink

    A Modulo expression.

  156. def Month(term: Expr): Expr

    Permalink

    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

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

    Permalink

    A Move Database expression.

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

    Permalink

    A Multiply expression.

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

    Permalink

    A NGram expression.

  160. def NewId(): Expr

    Permalink

    A New Id expression.

  161. object NoCursor extends Cursor with Product with Serializable

    Permalink
  162. object Normalizer

    Permalink
  163. def Not(term: Expr): Expr

    Permalink

    A Not expression.

  164. def Now(): Expr

    Permalink

    Returns the current snapshot time.

    Returns the current snapshot time.

    Reference: https://docs.fauna.com/fauna/current/api/fql/functions/now

  165. def Null(): Expr

    Permalink

    A Null value.

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

    Permalink

    An Object value.

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

    Permalink

    An Or expression.

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

    Permalink

    A Paginate expression.

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

    Permalink

    A Pow expression.

  170. def Pow(num: Expr): Expr

    Permalink

    A Pow expression.

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

    Permalink

    A Prepend expression.

  172. def Query(lambda: Expr): Expr

    Permalink
  173. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr

    Permalink
  174. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr

    Permalink
  175. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr

    Permalink
  176. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr

    Permalink
  177. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr

    Permalink
  178. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr

    Permalink
  179. macro def Query(fn: (Expr, Expr, Expr, Expr) ⇒ Expr): Expr

    Permalink
  180. macro def Query(fn: (Expr, Expr, Expr) ⇒ Expr): Expr

    Permalink
  181. macro def Query(fn: (Expr, Expr) ⇒ Expr): Expr

    Permalink
  182. macro def Query(fn: (Expr) ⇒ Expr): Expr

    Permalink

    A Query expression.

  183. def RTrim(value: Expr): Expr

    Permalink

    A RTrim expression

  184. def Radians(num: Expr): Expr

    Permalink

    A Radians expression.

  185. def Range(set: Expr, from: Expr, to: Expr): Expr

    Permalink

    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

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

    Permalink

    A Reduce expression.

  187. def Ref(collectionRef: Expr, id: Expr): Expr

    Permalink
  188. def Ref(value: String): Expr

    Permalink

    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

  189. def RegexEscape(value: Expr): Expr

    Permalink

    A RegexEscape expression

  190. def Remove(ref: Expr, ts: Expr, action: Expr): Expr

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

    Permalink

    A Remove expression.

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

    Permalink

    A Repeat expression

  193. def Repeat(value: Expr): Expr

    Permalink

    A Repeat expression

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

    Permalink

    A Replace expression.

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

    Permalink

    A ReplaceStr expression

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

    Permalink

    A ReplaceStrRegex expression

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

    Permalink

    A ReplaceStrRegex expression

  198. def Reverse(source: Expr): Expr

    Permalink

    A Reverse expression.

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

    Permalink

    A Role expression.

  200. def Role(name: Expr): Expr

    Permalink

    A Role expression.

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

    Permalink

    Native reference to all roles

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

    Permalink

    A Round expression.

  203. def Round(num: Expr): Expr

    Permalink

    A Round expression.

  204. def Second(term: Expr): Expr

    Permalink

    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

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

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

    Permalink

    A Select expression.

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

    Permalink

    A SelectAsIndex expression.

  208. def Sign(num: Expr): Expr

    Permalink

    A sign expression.

  209. def Sin(num: Expr): Expr

    Permalink

    A sin expression.

  210. def Singleton(ref: Expr): Expr

    Permalink

    A Singleton set.

  211. def Sinh(num: Expr): Expr

    Permalink

    A sinh expression.

  212. def Space(value: Expr): Expr

    Permalink

    A Space expression

  213. def Sqrt(num: Expr): Expr

    Permalink

    A sqrt expression.

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

    Permalink

    A StartsWith expression

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

    Permalink

    A SubString expression

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

    Permalink

    A SubString expression

  217. def SubString(value: Expr): Expr

    Permalink

    A SubString expression

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

    Permalink

    A Subtract expression.

  219. def Sum(collection: Expr): Expr

    Permalink

    Sum the elements in the collection.

    Sum the elements in the collection.

    Reference: https://docs.fauna.com/fauna/current/api/fql/functions/sum

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

    Permalink

    A Take expression.

  221. def Tan(num: Expr): Expr

    Permalink

    A Tan expression.

  222. def Tanh(num: Expr): Expr

    Permalink

    A Tanh expression.

  223. def Time(str: Expr): Expr

    Permalink

    A Time expression.

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

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

    Permalink

    A TimeAdd expression.

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

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

    Permalink

    A TimeDiff expression.

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

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

    Permalink

    A TimeSubtract expression.

  230. object TimeUnit

    Permalink
  231. def TitleCase(value: Expr): Expr

    Permalink

    A TitleCase expression

  232. def ToArray(obj: Expr): Expr

    Permalink

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

  233. def ToDate(term: Expr): Expr

    Permalink

    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

  234. def ToDouble(term: Expr): Expr

    Permalink

    Casts an expression to a double value, if possible.

  235. def ToInteger(term: Expr): Expr

    Permalink

    Casts an expression to an integer value, if possible.

  236. def ToMicros(term: Expr): Expr

    Permalink

    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

  237. def ToMillis(term: Expr): Expr

    Permalink

    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

  238. def ToNumber(term: Expr): Expr

    Permalink

    Casts an expression to a numeric value, if possible.

  239. def ToObject(fields: Expr): Expr

    Permalink

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

  240. def ToSeconds(term: Expr): Expr

    Permalink

    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

  241. def ToString(term: Expr): Expr

    Permalink

    Casts an expression to a string value, if possible.

  242. def ToTime(term: Expr): Expr

    Permalink

    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

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

    Permalink

    Native reference to all tokens

  244. def Trim(term: Expr): Expr

    Permalink

    A Trim expression

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

    Permalink

    A Trunc expression.

  246. def Trunc(num: Expr): Expr

    Permalink

    A Trunc expression.

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

    Permalink

    A Union set.

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

    Permalink

    An Update expression.

  249. def UpperCase(term: Expr): Expr

    Permalink

    A UpperCase expression

  250. def Var(name: String): Expr

    Permalink

    A Var expression.

  251. def Year(term: Expr): Expr

    Permalink

    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

  252. implicit def intToPath(int: Int): Path

    Permalink
  253. implicit def pathToExpr(path: Path): Expr

    Permalink
  254. implicit def strToPath(str: String): Path

    Permalink

Deprecated Value Members

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

    Permalink

    A Class expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.7.0) use Collection instead

  2. def Class(name: Expr): Expr

    Permalink

    A Class expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.7.0) use Collection instead

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

    Permalink

    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

    Permalink

    A Contains expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0) use ContainsPath instead

  5. def CreateClass(params: Expr): Expr

    Permalink

    A Create Class expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.7.0) use CreateCollection instead

  6. def NextId(): Expr

    Permalink

    A Next Id expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.7.0) use NewId instead

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

    Permalink

    A SelectAll expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) use SelectAsIndex instead

Inherited from AnyRef

Inherited from Any

Ungrouped