aarondb/index/ets
Types
pub type TableName =
String
pub type TableType {
Set
OrderedSet
Bag
DuplicateBag
}
Constructors
-
Set -
OrderedSet -
Bag -
DuplicateBag
Values
pub fn delete(table: String, key: any) -> Nil
pub fn deserialize_term(b: BitArray) -> dynamic.Dynamic
pub fn get_av(
table: String,
attr: String,
val: fact.Value,
) -> option.Option(fact.EntityId)
pub fn get_raw_binary(
table: String,
key: any,
) -> Result(BitArray, Nil)
pub fn init_tables(db_name: String) -> Nil
pub fn insert_avet(
table: String,
key: #(String, fact.Value),
eid: fact.EntityId,
) -> Nil
pub fn insert_datom(
table: String,
key: any,
datom: fact.Datom,
) -> Nil
pub fn lookup_datoms(table: String, key: any) -> List(fact.Datom)
pub fn prune_historical(
table: String,
eid: fact.EntityId,
attr: String,
) -> Nil
pub fn prune_historical_aevt(
table: String,
attr: String,
eid: fact.EntityId,
) -> Nil
pub fn serialize_term(term: any) -> BitArray