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 AccessProvider(name: Expr, scope: Expr): Expr

    Permalink

    An Access Provider expression.

  4. def AccessProvider(name: Expr): Expr

    Permalink

    An Access Provider expression.

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

    Permalink

    Native reference to all access providers

  6. def Acos(num: Expr): Expr

    Permalink

    An Acos expression.

  7. object Action

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

    Permalink

    An Add expression.

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

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

    Permalink

    An And expression.

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

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

    Permalink

    An Append expression.

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

    Permalink

    An Array value.

  14. def Asin(num: Expr): Expr

    Permalink

    An Asin expression.

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

    Permalink

    A At expression.

  16. def Atan(num: Expr): Expr

    Permalink

    An Atan expression.

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

    Permalink

    An BitAnd expression.

  18. def BitNot(num: Expr): Expr

    Permalink

    A BitNot expression.

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

    Permalink

    An BitOr expression.

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

    Permalink

    An BitXor expression.

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

    Permalink

    A Call expression.

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

    Permalink

    A Casefold expression.

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

    Permalink

    A Casefold expression.

  24. def Casefold(term: Expr): Expr

    Permalink

    A Casefold expression.

  25. def Ceil(num: Expr): Expr

    Permalink

    A Ceil expression.

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

    Permalink

    A Collection expression.

  27. def Collection(name: Expr): Expr

    Permalink

    A Collection expression.

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

    Permalink

    Native reference to all classes

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

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

    Permalink

    A Concat expression.

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

    Permalink

    A ContainsField expression.

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

    Permalink

    A ContainsPath expression.

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

    Permalink

    A ContainsStr expression

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

    Permalink

    A ContainsStrRegex expression

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

    Permalink

    A ContainsValue expression.

  36. def Cos(num: Expr): Expr

    Permalink

    A Cos expression.

  37. def Cosh(num: Expr): Expr

    Permalink

    A Cosh expression.

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

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

    Permalink

    A Create expression.

  40. def CreateAccessProvider(params: Expr): Expr

    Permalink

    An CreateAccessProvider expression.

    An CreateAccessProvider expression.

    params

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

  41. def CreateCollection(params: Expr): Expr

    Permalink

    A Create Collection expression.

  42. def CreateDatabase(params: Expr): Expr

    Permalink

    A Create Database expression.

  43. def CreateFunction(params: Expr): Expr

    Permalink

    A Create Function expression.

  44. def CreateIndex(params: Expr): Expr

    Permalink

    A Create Index expression.

  45. def CreateKey(params: Expr): Expr

    Permalink

    A Create Key expression.

  46. def CreateRole(params: Expr): Expr

    Permalink

    A Create Role expression.

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

    Permalink

    Native reference to all credentials

  48. def CurrentIdentity(): Expr

    Permalink

    A CurrentIdentity expression.

  49. def CurrentToken(): Expr

    Permalink

    A CurrentToken expression.

  50. object Cursor

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

    Permalink

    A Database expression.

  52. def Database(name: Expr): Expr

    Permalink

    A Database expression.

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

    Permalink

    Native reference to all databases

  54. def Date(str: Expr): Expr

    Permalink

    A Date expression.

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

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

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

  58. def Degrees(num: Expr): Expr

    Permalink

    A Degrees expression.

  59. def Delete(ref: Expr): Expr

    Permalink

    A Delete expression.

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

    Permalink

    A Difference set.

  61. def Distinct(set: Expr): Expr

    Permalink

    A Distinct set.

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

    Permalink

    A Divide expression.

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

    Permalink

    A Do expression.

  64. def Documents(collection: Expr): Expr

    Permalink

    Returns a set of all documents in the given collection

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

    Permalink

    A Drop expression.

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

    Permalink

    An EndsWith expression

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

    Permalink

    An Epoch expression.

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

    Permalink

    An Epoch expression.

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

    Permalink

    An Equals expression.

  70. def Events(refSet: Expr): Expr

    Permalink

    A Events set.

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

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

    Permalink

    An Exists expression.

  73. def Exp(num: Expr): Expr

    Permalink

    An Exp expression.

  74. object Expr extends Serializable

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

    Permalink

    A Filter expression.

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

    Permalink

    A FindStr expression

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

    Permalink

    A FindStr expression

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

    Permalink

    A FindStrRegex expression

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

    Permalink

    A FindStrRegex expression

  80. def Floor(num: Expr): Expr

    Permalink

    A Floor expression.

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

    Permalink

    A Foreach expression.

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

    Permalink

    A Format expression

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

    Permalink

    A Function expression.

  84. def Function(name: Expr): Expr

    Permalink

    A Function expression.

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

    Permalink

    Native reference to all functions

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

    Permalink

    A GT expression.

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

    Permalink

    A GTE expression.

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

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

    Permalink

    A Get expression.

  90. def HasCurrentIdentity(): Expr

    Permalink

    A HasCurrentIdentity expression.

  91. def HasCurrentToken(): Expr

    Permalink

    A HasCurrentToken expression.

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

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

    Permalink

    A Hypot expression.

  94. def Hypot(num: Expr): Expr

    Permalink

    A Hypot expression.

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

    Permalink

    An Identify expression.

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

    Permalink

    An If expression.

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

    Permalink

    An Index expression.

  98. def Index(name: Expr): Expr

    Permalink

    An Index expression.

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

    Permalink

    Native reference to all indexes

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

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

    Permalink

    An Insert expression.

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

    Permalink

    An Intersection set.

  103. def IsArray(expr: Expr): Expr

    Permalink

    Check if the expression is an array.

  104. def IsBoolean(expr: Expr): Expr

    Permalink

    Check if the expression is a boolean.

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

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

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

  108. def IsDatabase(expr: Expr): Expr

    Permalink

    Check if the expression is a database.

  109. def IsDate(expr: Expr): Expr

    Permalink

    Check if the expression is a date.

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

  111. def IsDouble(expr: Expr): Expr

    Permalink

    Check if the expression is a double.

  112. def IsEmpty(collection: Expr): Expr

    Permalink

    A IsEmpty expression.

  113. def IsFunction(expr: Expr): Expr

    Permalink

    Check if the expression is a function.

  114. def IsIndex(expr: Expr): Expr

    Permalink

    Check if the expression is an index.

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

  116. def IsKey(expr: Expr): Expr

    Permalink

    Check if the expression is a key.

  117. def IsLambda(expr: Expr): Expr

    Permalink

    Check if the expression is a lambda.

  118. def IsNonEmpty(collection: Expr): Expr

    Permalink

    A IsNonEmpty expression.

  119. def IsNull(expr: Expr): Expr

    Permalink

    Check if the expression is null.

  120. def IsNumber(expr: Expr): Expr

    Permalink

    Check if the expression is a number.

  121. def IsObject(expr: Expr): Expr

    Permalink

    Check if the expression is an object.

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

  123. def IsRole(expr: Expr): Expr

    Permalink

    Check if the expression is a role.

  124. def IsSet(expr: Expr): Expr

    Permalink

    Check if the expression is a set.

  125. def IsString(expr: Expr): Expr

    Permalink

    Check if the expression is a string.

  126. def IsTimestamp(expr: Expr): Expr

    Permalink

    Check if the expression is a timestamp.

  127. def IsToken(expr: Expr): Expr

    Permalink

    Check if the expression is a token.

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

    Permalink

    A Join set.

  129. def KeyFromSecret(secret: Expr): Expr

    Permalink

    A KeyFromSecret expression.

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

    Permalink

    Native reference to all keys

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

    Permalink

    A LT expression.

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

    Permalink

    A LTE expression.

  133. def LTrim(value: Expr): Expr

    Permalink

    A LTrim expression

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    A Lambda expression.

  145. def Length(value: Expr): Expr

    Permalink

    A Length expression

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

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

    Permalink

    A Let expression.

  148. def Ln(num: Expr): Expr

    Permalink

    A ln expression.

  149. def Log(num: Expr): Expr

    Permalink

    A Log expression.

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

    Permalink

    A Login expression.

  151. def Logout(invalidateAll: Expr): Expr

    Permalink

    A Logout expression.

  152. def LowerCase(value: Expr): Expr

    Permalink

    A LowerCase expression

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

    Permalink

    A Map expression.

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

    Permalink

    A Match set.

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

    Permalink

    A Max expression.

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

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

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

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

    Permalink

    A Min expression.

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

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

    Permalink

    A Modulo expression.

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

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

    Permalink

    A Move Database expression.

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

    Permalink

    A Multiply expression.

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

    Permalink

    A NGram expression.

  166. def NewId(): Expr

    Permalink

    A New Id expression.

  167. object NoCursor extends Cursor with Product with Serializable

    Permalink
  168. object Normalizer

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

    Permalink

    A Not expression.

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

  171. def Null(): Expr

    Permalink

    A Null value.

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

    Permalink

    An Object value.

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

    Permalink

    An Or expression.

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

    Permalink

    A Paginate expression.

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

    Permalink

    A Pow expression.

  176. def Pow(num: Expr): Expr

    Permalink

    A Pow expression.

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

    Permalink

    A Prepend expression.

  178. def Query(lambda: Expr): Expr

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

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

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

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

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

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

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

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

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

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

    Permalink

    A Query expression.

  189. def RTrim(value: Expr): Expr

    Permalink

    A RTrim expression

  190. def Radians(num: Expr): Expr

    Permalink

    A Radians expression.

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

    set

    set to be filtered

    from

    lower bound

    to

    upper bound

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

    Permalink

    A Reduce expression.

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

    Permalink
  194. 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://docs.fauna.com/fauna/current/api/fql/types?lang=scala#ref

  195. def RegexEscape(value: Expr): Expr

    Permalink

    A RegexEscape expression

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

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

    Permalink

    A Remove expression.

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

    Permalink

    A Repeat expression

  199. def Repeat(value: Expr): Expr

    Permalink

    A Repeat expression

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

    Permalink

    A Replace expression.

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

    Permalink

    A ReplaceStr expression

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

    Permalink

    A ReplaceStrRegex expression

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

    Permalink

    A ReplaceStrRegex expression

  204. def Reverse(source: Expr): Expr

    Permalink

    A Reverse expression.

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

    Permalink

    A Role expression.

  206. def Role(name: Expr): Expr

    Permalink

    A Role expression.

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

    Permalink

    Native reference to all roles

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

    Permalink

    A Round expression.

  209. def Round(num: Expr): Expr

    Permalink

    A Round expression.

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

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

    Permalink

    A Select expression.

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

    Permalink

    A Select expression.

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

    Permalink

    A SelectAsIndex expression.

  214. def Sign(num: Expr): Expr

    Permalink

    A sign expression.

  215. def Sin(num: Expr): Expr

    Permalink

    A sin expression.

  216. def Singleton(ref: Expr): Expr

    Permalink

    A Singleton set.

  217. def Sinh(num: Expr): Expr

    Permalink

    A sinh expression.

  218. def Space(value: Expr): Expr

    Permalink

    A Space expression

  219. def Sqrt(num: Expr): Expr

    Permalink

    A sqrt expression.

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

    Permalink

    A StartsWith expression

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

    Permalink

    A SubString expression

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

    Permalink

    A SubString expression

  223. def SubString(value: Expr): Expr

    Permalink

    A SubString expression

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

    Permalink

    A Subtract expression.

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

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

    Permalink

    A Take expression.

  227. def Tan(num: Expr): Expr

    Permalink

    A Tan expression.

  228. def Tanh(num: Expr): Expr

    Permalink

    A Tanh expression.

  229. def Time(str: Expr): Expr

    Permalink

    A Time expression.

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

    Permalink

    A TimeAdd expression.

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

    Permalink

    A TimeAdd expression.

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

    Permalink

    A TimeDiff expression.

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

    Permalink

    A TimeDiff expression.

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

    Permalink

    A TimeSubtract expression.

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

    Permalink

    A TimeSubtract expression.

  236. object TimeUnit

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

    Permalink

    A TitleCase expression

  238. def ToArray(obj: Expr): Expr

    Permalink

    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

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

  240. def ToDouble(term: Expr): Expr

    Permalink

    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

  241. def ToInteger(term: Expr): Expr

    Permalink

    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

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

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

  244. def ToNumber(term: Expr): Expr

    Permalink

    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

  245. def ToObject(fields: Expr): Expr

    Permalink

    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

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

  247. def ToString(term: Expr): Expr

    Permalink

    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

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

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

    Permalink

    Native reference to all tokens

  250. def Trim(term: Expr): Expr

    Permalink

    A Trim expression

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

    Permalink

    A Trunc expression.

  252. def Trunc(num: Expr): Expr

    Permalink

    A Trunc expression.

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

    Permalink

    A Union set.

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

    Permalink

    An Update expression.

  255. def UpperCase(term: Expr): Expr

    Permalink

    A UpperCase expression

  256. def Var(name: String): Expr

    Permalink

    A Var expression.

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

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

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

    Permalink
  260. 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 HasIdentity(): Expr

    Permalink

    A HasIdentity expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 4.0.0) use HasCurrentIdentity instead

  7. def Identity(): Expr

    Permalink

    An Identity expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 4.0.0) use CurrentIdentity instead

  8. def NextId(): Expr

    Permalink

    A Next Id expression.

    Annotations
    @deprecated
    Deprecated

    (Since version 2.7.0) use NewId instead

  9. 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