package generic
Interfaces to meta information about datoms and Datomic database.
- Source
- package.scala
- Alphabetic
- By Inheritance
- generic
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
Datom extends AnyRef
Meta attributes of Datoms.
Meta attributes of Datoms.
// Get entity id with `e` Person.e.name.get.head === (17592186045894L, "Ben") // Attributes of all Person entities having `age` asserted Person.a.age_.get.sorted === List( ":person/name", ":person/age", ":tag/score", ":tag/flags", ":cat/name" ) // Namespace names of all Person entities having `age` asserted Person.ns.age_.get.sorted === List( "person", "tag", "cat" ) // Transaction time t, operation and value Person.t.op.v.getHistory === List( (1031, true, "Benny"), (1033, false, "Benny"), (1033, true, "Ben") ) // Transaction time as date val date = java.util.Date("2018-08-04") Person.t.op.v.txInstant_(date).getHistory === List( (1033, true, "Ben") ) // Transaction entity id val txEntity = 17592186045908L Person.t.op.v.tx_(txEntity).getHistory === List( (1033, true, "Ben") )
-
trait
Db extends AnyRef
Special API to query the Datomic Db structure.
Special API to query the Datomic Db structure.
- See also
- trait Db_0 extends Db with Out_0[Db_0, Db_1, Db_In_1_0, Db_In_1_1]
- trait Db_1[A] extends Db with Out_1[Db_1, Db_2, Db_In_1_1, Db_In_1_2, A]
- trait Db_2[A, B] extends Db with Out_2[Db_2, Db_3, Db_In_1_2, Db_In_1_3, A, B]
- trait Db_3[A, B, C] extends Db with Out_3[Db_3, Db_4, Db_In_1_3, Db_In_1_4, A, B, C]
- trait Db_4[A, B, C, D] extends Db with Out_4[Db_4, Db_5, Db_In_1_4, Db_In_1_5, A, B, C, D]
- trait Db_5[A, B, C, D, E] extends Db with Out_5[Db_5, Db_6, Db_In_1_5, Db_In_1_6, A, B, C, D, E]
- trait Db_6[A, B, C, D, E, F] extends Db with Out_6[Db_6, P7, Db_In_1_6, P8, A, B, C, D, E, F]
-
trait
Db_In_1_0[I1] extends Db with In_1_0[Db_In_1_0, Db_In_1_1, Db_In_2_0, Db_In_2_1, I1]
******* Input molecules awaiting 1 input ******************************
- trait Db_In_1_1[I1, A] extends Db with In_1_1[Db_In_1_1, Db_In_1_2, Db_In_2_1, Db_In_2_2, I1, A]
- trait Db_In_1_2[I1, A, B] extends Db with In_1_2[Db_In_1_2, Db_In_1_3, Db_In_2_2, Db_In_2_3, I1, A, B]
- trait Db_In_1_3[I1, A, B, C] extends Db with In_1_3[Db_In_1_3, Db_In_1_4, Db_In_2_3, Db_In_2_4, I1, A, B, C]
- trait Db_In_1_4[I1, A, B, C, D] extends Db with In_1_4[Db_In_1_4, Db_In_1_5, Db_In_2_4, Db_In_2_5, I1, A, B, C, D]
- trait Db_In_1_5[I1, A, B, C, D, E] extends Db with In_1_5[Db_In_1_5, Db_In_1_6, Db_In_2_5, Db_In_2_6, I1, A, B, C, D, E]
- trait Db_In_1_6[I1, A, B, C, D, E, F] extends Db with In_1_6[Db_In_1_6, P8, Db_In_2_6, P9, I1, A, B, C, D, E, F]
-
trait
Db_In_2_0[I1, I2] extends Db with In_2_0[Db_In_2_0, Db_In_2_1, Db_In_3_0, Db_In_3_1, I1, I2]
******* Input molecules awaiting 2 inputs ******************************
- trait Db_In_2_1[I1, I2, A] extends Db with In_2_1[Db_In_2_1, Db_In_2_2, Db_In_3_1, Db_In_3_2, I1, I2, A]
- trait Db_In_2_2[I1, I2, A, B] extends Db with In_2_2[Db_In_2_2, Db_In_2_3, Db_In_3_2, Db_In_3_3, I1, I2, A, B]
- trait Db_In_2_3[I1, I2, A, B, C] extends Db with In_2_3[Db_In_2_3, Db_In_2_4, Db_In_3_3, Db_In_3_4, I1, I2, A, B, C]
- trait Db_In_2_4[I1, I2, A, B, C, D] extends Db with In_2_4[Db_In_2_4, Db_In_2_5, Db_In_3_4, Db_In_3_5, I1, I2, A, B, C, D]
- trait Db_In_2_5[I1, I2, A, B, C, D, E] extends Db with In_2_5[Db_In_2_5, Db_In_2_6, Db_In_3_5, Db_In_3_6, I1, I2, A, B, C, D, E]
- trait Db_In_2_6[I1, I2, A, B, C, D, E, F] extends Db with In_2_6[Db_In_2_6, P9, Db_In_3_6, P10, I1, I2, A, B, C, D, E, F]
-
trait
Db_In_3_0[I1, I2, I3] extends Db with In_3_0[Db_In_3_0, Db_In_3_1, P4, P5, I1, I2, I3]
******* Input molecules awaiting 3 inputs ******************************
- trait Db_In_3_1[I1, I2, I3, A] extends Db with In_3_1[Db_In_3_1, Db_In_3_2, P5, P6, I1, I2, I3, A]
- trait Db_In_3_2[I1, I2, I3, A, B] extends Db with In_3_2[Db_In_3_2, Db_In_3_3, P6, P7, I1, I2, I3, A, B]
- trait Db_In_3_3[I1, I2, I3, A, B, C] extends Db with In_3_3[Db_In_3_3, Db_In_3_4, P7, P8, I1, I2, I3, A, B, C]
- trait Db_In_3_4[I1, I2, I3, A, B, C, D] extends Db with In_3_4[Db_In_3_4, Db_In_3_5, P8, P9, I1, I2, I3, A, B, C, D]
- trait Db_In_3_5[I1, I2, I3, A, B, C, D, E] extends Db with In_3_5[Db_In_3_5, Db_In_3_6, P9, P10, I1, I2, I3, A, B, C, D, E]
- trait Db_In_3_6[I1, I2, I3, A, B, C, D, E, F] extends Db with In_3_6[Db_In_3_6, P10, P10, P11, I1, I2, I3, A, B, C, D, E, F]
Documentation/API for the Molecule library - a meta DSL for the Datomic database.
Manual | scalamolecule.org | Github | Forum