Packages

  • package root

    Documentation/API for the Molecule library - a meta DSL for the Datomic database.

    Manual | scalamolecule.org | Github | Forum

    Definition Classes
    root
  • package molecule

    Molecule library - a Scala meta-DSL for the Datomic database.

    Molecule library - a Scala meta-DSL for the Datomic database.

    See api package for various api imports to start using Molecule.

    Sub-packages

    api Molecule API.
    ast Internal Molecule ASTs.
    boilerplate Internal interfaces for auto-generated DSL boilerplate code.
    composition    Builder methods to compose molecules.
    exceptions Exceptions thrown by Molecule.
    expression Attribute expressions and operations.
    facade Molecule facades to Datomic.
    factory Implicit macro methods `m` to instantiate molecules from custom DSL molecule constructs.
    generic Interfaces to generic information about datoms and Datomic database.
    input Input molecules awaiting input.
    macro Internal macros generating molecule code from custom DSL molecule constructs.
    ops Internal operational helpers for transforming DSL to molecule.
    schema Schema definition DSL.
    transform Internal transformers from DSL to Model/Query/Transaction.
    util Internal Java database functions for Datomic.

    Definition Classes
    root
  • package ops

    Internal operational helpers for transforming DSL to molecules.

    Internal operational helpers for transforming DSL to molecules.

    Definition Classes
    molecule
  • object QueryOps extends Helpers

    Query operations

    Query operations

    Definition Classes
    ops
  • QueryOps
  • mkDate

implicit class QueryOps extends AnyRef

Source
QueryOps.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QueryOps
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new QueryOps(q: Query)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def attr(e: String, v: QueryValue, v1: String, v2: String, gs: Seq[Generic]): Query
  6. def cast(v1: String, v2: String): Query
  7. def castStr(tpe: String): String
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. def compareTo(op: String, a: Atom, v: String, qv: QueryValue, i: Int = 0): Query
  10. def compareToMany[T](op: String, a: Atom, v: String, args: Seq[T]): Query
  11. def enum(e: String, a: Atom, v: String, gs: Seq[Generic] = Seq()): Query
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  14. def esc(arg: Any): Any
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def find(o: Output, gs: Seq[Generic], attrV: String = ""): Query
  17. def find(v: String, gs: Seq[Generic], attrV: String): Query
  18. def find(fn: String, args: Seq[String], v: String, gs: Seq[Generic], attrV: String): Query
  19. def find(gs: Seq[Generic]): Query
  20. def find(v: String, gs: Seq[Generic]): Query
  21. def find(fn: String, args: Seq[Any], v: String, gs: Seq[Generic]): Query
  22. def findD(v: String, gs: Seq[Generic]): Query
  23. def fulltext(e: String, a: Atom, v: String, qv: QueryValue): Query
  24. def func(name: String, ins: Seq[QueryTerm], outs: Binding = NoBinding): Query
  25. def func(name: String, qt: QueryTerm, v: String): Query
  26. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  28. def ident(v: String, v1: String, gs: Seq[Generic] = Seq()): Query
  29. def in(e: String): Query
  30. def in(eids: Seq[Any], e: String): Query
  31. def in(v: String, ns: String, attr: String, e: String): Query
  32. def in(e: String, a: Atom, enumPrefix: Option[String], v: String): Query
  33. def inputs: Seq[AnyRef]
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. def kw(v1: String, v2: String): Query
  36. def mapCompareTo(op: String, e: String, a: Atom, v: String, keys: Seq[String], arg: Any, gs: Seq[Generic] = Seq()): Query
  37. def mapIn(e: String, a: Atom, v: String, gs: Seq[Generic]): Query
  38. def mapIn2(e: String, a: Atom, v: String, gs: Seq[Generic]): Query
  39. def mapInCompareTo(op: String, e: String, a: Atom, v: String, gs: Seq[Generic] = Seq()): Query
  40. def mapInCompareToK(op: String, e: String, a: Atom, v: String, key: String, gs: Seq[Generic] = Seq()): Query
  41. def mappings(e: String, a: Atom, args0: Seq[(String, Any)]): Query
  42. def matchRegEx(v: String, regex: Seq[QueryTerm]): Query
  43. def matches(v: String, keys: Seq[String], valueRegEx: String): Query
  44. def matches(v: String, regEx: String): Query
  45. def matches(v: String, inVar: Var): Query
  46. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  47. def not(e: String, a: Atom): Query
  48. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  49. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  50. def nots(e: String, a: Atom, v: String, argss: Seq[Any]): Query
  51. def ns(e: String, v: QueryValue, v1: String, v2: String, gs: Seq[Generic]): Query
  52. def orRules(e: String, a: Atom, args: Seq[Any], uriV: String = "", fulltext: Boolean = false): Query
  53. def pre(a: Atom, arg: Any): Any
  54. def pull(e: String, atom: Atom): Query
  55. def pullEnum(e: String, atom: Atom): Query
  56. def ref(e: String, ns: String, refAttr: String, v: String, refNs: String): Query
  57. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  58. def toString(): String
    Definition Classes
    AnyRef → Any
  59. def transitive(ns: String, attr: String, v1: String, v2: String, depth: Int): Query
  60. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  63. def where(e: String, a: Atom, qv: Val, gs: Seq[Generic]): Query
  64. def where(e: String, a: Atom, v: String, gs: Seq[Generic]): Query
  65. def where(e: String, ns: String, attr: String, v: QueryValue, refNs: String, gs: Seq[Generic]): Query
  66. def whereAnd[T](e: String, a: Atom, v: String, args: Seq[T], uriV: String = ""): Query
  67. def whereAndEnum[T](e: String, a: Atom, v: String, prefix: String, args: Seq[T]): Query
  68. def widh(v: String): Query

Inherited from AnyRef

Inherited from Any

Ungrouped