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. final case class Path extends AnyVal with Product with Serializable

    Helper for path syntax

  7. class QueryMacros extends AnyRef
  8. sealed abstract class TimeUnit extends AnyRef

    Enumeration for time units.

    Enumeration for time units. Used by https://fauna.com/documentation/queries#time_functions.

Value Members

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

    An Add expression.

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

    An And expression.

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

    An Append expression.

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

    An Array value.

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

    A At expression.

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

    A Call expression.

  7. def Casefold(term: Expr): Expr

    A Casefold expression.

  8. def Class(name: Expr): Expr

    A Class expression.

  9. def Concat(term: Expr, separator: Expr): Expr
  10. def Concat(term: Expr): Expr

    A Concat expression.

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

    A Contains expression.

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

    A Create expression.

  13. def CreateClass(params: Expr): Expr

    A Create Class expression.

    A Create Class expression.

    Reference: https://fauna.com/documentation/queries#write_functions

  14. def CreateDatabase(params: Expr): Expr

    A Create Database expression.

    A Create Database expression.

    Reference: https://fauna.com/documentation/queries#write_functions

  15. def CreateFunction(params: Expr): Expr

    A Create Function expression.

    A Create Function expression.

    Reference: https://fauna.com/documentation/queries#write_functions

  16. def CreateIndex(params: Expr): Expr

    A Create Index expression.

    A Create Index expression.

    Reference: https://fauna.com/documentation/queries#write_functions

  17. def CreateKey(params: Expr): Expr

    A Create Key expression.

  18. def Database(name: Expr): Expr

    A Database expression.

  19. def Date(str: Expr): Expr

    A Date expression.

  20. def Delete(ref: Expr): Expr

    A Delete expression.

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

    A Difference set.

  22. def Distinct(set: Expr): Expr

    A Distinct set.

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

    A Divide expression.

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

    A Do expression.

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

    A Drop expression.

  26. def Epoch(num: Expr, unit: Expr): Expr
  27. def Epoch(num: Expr, unit: TimeUnit): Expr

    An Epoch expression.

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

    An Equals expression.

  29. def Exists(ref: Expr, ts: Expr): Expr
  30. def Exists(ref: Expr): Expr

    An Exists expression.

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

    A Filter expression.

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

    A Foreach expression.

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

    A GT expression.

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

    A GTE expression.

  35. def Get(resource: Expr, ts: Expr): Expr
  36. def Get(resource: Expr): Expr

    A Get expression.

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

    An Identify expression.

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

    An If expression.

  39. def Index(name: Expr): Expr

    An Index expression.

  40. def Insert(ref: Expr, ts: Expr, action: Expr, params: Expr): Expr
  41. def Insert(ref: Expr, ts: Expr, action: Action, params: Expr): Expr

    An Insert expression.

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

    An Intersection set.

    An Intersection set.

    Reference: https://fauna.com/documentation/queries#sets

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

    A Join set.

  44. def KeyFromSecret(secret: Expr): Expr

    A KeyFromSecret expression.

    A KeyFromSecret expression.

    Reference: https://fauna.com/documentation/queries#read_functions

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

    A LT expression.

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

    A LTE expression.

  47. def Lambda(lambda: Expr, expr: Expr): Expr
  48. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  49. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  50. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  51. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  52. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  53. macro def Lambda(fn: (Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  54. macro def Lambda(fn: (Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  55. macro def Lambda(fn: (Expr, Expr, Expr) ⇒ Expr): Expr
  56. macro def Lambda(fn: (Expr, Expr) ⇒ Expr): Expr
  57. macro def Lambda(fn: (Expr) ⇒ Expr): Expr

    A Lambda expression.

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

    A Let expression.

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

    A Login expression.

  61. def Logout(invalidateAll: Expr): Expr

    A Logout expression.

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

    A Map expression.

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

    A Match set.

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

    A Modulo expression.

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

    A Multiply expression.

  66. def NextId(): Expr

    A Next Id expression.

  67. def Not(term: Expr): Expr

    A Not expression.

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

    An Object value.

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

    An Or expression.

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

    A Paginate expression.

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

    A Prepend expression.

  72. def Query(lambda: Expr): Expr
  73. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  74. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  75. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  76. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  77. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  78. macro def Query(fn: (Expr, Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  79. macro def Query(fn: (Expr, Expr, Expr, Expr) ⇒ Expr): Expr
  80. macro def Query(fn: (Expr, Expr, Expr) ⇒ Expr): Expr
  81. macro def Query(fn: (Expr, Expr) ⇒ Expr): Expr
  82. macro def Query(fn: (Expr) ⇒ Expr): Expr

    A Query expression.

  83. def Ref(value: String): Expr

    An RefV value.

  84. def Remove(ref: Expr, ts: Expr, action: Expr): Expr
  85. def Remove(ref: Expr, ts: Expr, action: Action): Expr

    A Remove expression.

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

    A Replace expression.

  87. def Select(path: Expr, from: Expr, default: Expr): Expr
  88. def Select(path: Expr, from: Expr): Expr

    A Select expression.

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

    A Subtract expression.

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

    A Take expression.

  91. def Time(str: Expr): Expr

    A Time expression.

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

    A Union set.

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

    An Update expression.

  94. def Var(name: String): Expr

    A Var expression.

  95. implicit def intToPath(int: Int): Path
  96. implicit def pathToExpr(path: Path): Expr
  97. implicit def strToPath(str: String): Path
  98. object Action
  99. object Expr extends Serializable
  100. object NoCursor extends Cursor with Product with Serializable
  101. object TimeUnit

Inherited from AnyRef

Inherited from Any

Ungrouped