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

    Permalink

    Helper for path syntax

  7. class QueryMacros extends AnyRef

    Permalink
  8. sealed abstract class TimeUnit extends AnyRef

    Permalink

    Enumeration for time units.

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

Value Members

  1. object Action

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

    Permalink

    An Add expression.

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

    Permalink

    An And expression.

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

    Permalink

    An Append expression.

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

    Permalink

    An Array value.

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

    Permalink

    A At expression.

  7. def Casefold(term: Expr): Expr

    Permalink

    A Casefold expression.

  8. def Class(name: Expr): Expr

    Permalink

    A Class expression.

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

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

    Permalink

    A Concat expression.

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

    Permalink
  12. def Contains(path: Path, in: Expr): Expr

    Permalink

    A Contains expression.

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

    Permalink

    A Create expression.

  14. def CreateClass(params: Expr): Expr

    Permalink

    A Create Class expression.

    A Create Class expression.

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

  15. def CreateDatabase(params: Expr): Expr

    Permalink

    A Create Database expression.

    A Create Database expression.

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

  16. def CreateIndex(params: Expr): Expr

    Permalink

    A Create Index expression.

    A Create Index expression.

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

  17. def CreateKey(params: Expr): Expr

    Permalink

    A Create Key expression.

  18. def Database(name: Expr): Expr

    Permalink

    A Database expression.

  19. def Date(str: Expr): Expr

    Permalink

    A Date expression.

  20. def Delete(ref: Expr): Expr

    Permalink

    A Delete expression.

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

    Permalink

    A Difference set.

  22. def Distinct(set: Expr): Expr

    Permalink

    A Distinct set.

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

    Permalink

    A Divide expression.

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

    Permalink

    A Do expression.

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

    Permalink

    A Drop expression.

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

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

    Permalink

    An Epoch expression.

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

    Permalink

    An Equals expression.

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

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

    Permalink

    An Exists expression.

  31. object Expr extends Serializable

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

    Permalink

    A Filter expression.

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

    Permalink

    A Foreach expression.

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

    Permalink

    A GT expression.

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

    Permalink

    A GTE expression.

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

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

    Permalink

    A Get expression.

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

    Permalink

    An Identify expression.

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

    Permalink

    An If expression.

  40. def Index(name: Expr): Expr

    Permalink

    An Index expression.

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

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

    Permalink

    An Insert expression.

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

    Permalink

    An Intersection set.

    An Intersection set.

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

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

    Permalink

    A Join set.

  45. def KeyFromSecret(secret: Expr): Expr

    Permalink

    A KeyFromSecret expression.

    A KeyFromSecret expression.

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

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

    Permalink

    A LT expression.

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

    Permalink

    A LTE expression.

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

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

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

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

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

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

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

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

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

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

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

    Permalink

    A Lambda expression.

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

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

    Permalink

    A Let expression.

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

    Permalink

    A Login expression.

  62. def Logout(invalidateAll: Expr): Expr

    Permalink

    A Logout expression.

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

    Permalink

    A Map expression.

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

    Permalink

    A Match set.

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

    Permalink

    A Modulo expression.

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

    Permalink

    A Multiply expression.

  67. def NextId(): Expr

    Permalink

    A Next Id expression.

  68. object NoCursor extends Cursor with Product with Serializable

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

    Permalink

    A Not expression.

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

    Permalink

    An Object value.

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

    Permalink

    An Or expression.

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

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

    Permalink

    A Prepend expression.

  74. def Ref(value: String): Expr

    Permalink

    An RefV value.

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

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

    Permalink

    A Remove expression.

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

    Permalink

    A Replace expression.

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

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

    Permalink
  80. def Select(path: Path, from: Expr, default: Expr): Expr

    Permalink
  81. def Select(path: Path, from: Expr): Expr

    Permalink

    A Select expression.

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

    Permalink

    A Subtract expression.

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

    Permalink

    A Take expression.

  84. def Time(str: Expr): Expr

    Permalink

    A Time expression.

  85. object TimeUnit

    Permalink
  86. def Union(sets: Expr*): Expr

    Permalink

    A Union set.

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

    Permalink

    An Update expression.

  88. def Var(name: String): Expr

    Permalink

    A Var expression.

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

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

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped