Home
last modified time | relevance | path

Searched refs:EJDB_IDX_UNIQUE (Results 1 – 10 of 10) sorted by relevance

/third_party/ejdb/src/jbi/
Djbi_util.c11 ejdb_idx_mode_t itype = (idx->mode & ~(EJDB_IDX_UNIQUE)); in jbi_jbl_fill_ikey()
87 ejdb_idx_mode_t itype = (idx->mode & ~(EJDB_IDX_UNIQUE)); in jbi_jqval_fill_ikey()
164 ejdb_idx_mode_t itype = (idx->mode & ~(EJDB_IDX_UNIQUE)); in jbi_node_fill_ikey()
Djbi_selection.c8 if (m & EJDB_IDX_UNIQUE) { in _jbi_print_index()
/third_party/ejdb/src/tests/
Dejdb_test1.c103 rc = ejdb_ensure_index(db, "col1", "/foo/bar", EJDB_IDX_I64 | EJDB_IDX_UNIQUE); in ejdb_test1_2()
109 rc = ejdb_ensure_index(db, "col1", "/foo/gaz", EJDB_IDX_STR | EJDB_IDX_UNIQUE); in ejdb_test1_2()
Dejdb_test3.c33 rc = ejdb_ensure_index(db, "c1", "/f/b", EJDB_IDX_UNIQUE | EJDB_IDX_I64); in ejdb_test3_1()
48 rc = ejdb_ensure_index(db, "c2", "/f/b", EJDB_IDX_UNIQUE | EJDB_IDX_I64); in ejdb_test3_1()
880 rc = ejdb_ensure_index(db, "c2", "/f/b", EJDB_IDX_UNIQUE | EJDB_IDX_I64); in ejdb_test3_5()
950 rc = ejdb_ensure_index(db, "mycoll", "/foo", EJDB_IDX_UNIQUE | EJDB_IDX_STR); in ejdb_test3_6()
Dejdb_test4.c156 rc = ejdb_ensure_index(db, "users", "/uuid", EJDB_IDX_STR | EJDB_IDX_UNIQUE); in ejdb_test4_2()
/third_party/ejdb/src/
Dejdb2.h67 #define EJDB_IDX_UNIQUE ((ejdb_idx_mode_t) 0x01U) macro
Dejdb2.c1124 …if (((idx->mode & ~EJDB_IDX_UNIQUE) == (mode & ~EJDB_IDX_UNIQUE)) && !jbl_ptr_cmp(idx->ptr, ptr)) { in ejdb_remove_index()
1182 …if (((idx->mode & ~EJDB_IDX_UNIQUE) == (mode & ~EJDB_IDX_UNIQUE)) && !jbl_ptr_cmp(idx->ptr, ptr)) { in ejdb_ensure_index()
1206 if (!(mode & EJDB_IDX_UNIQUE)) { in ejdb_ensure_index()
/third_party/ejdb/src/jbr/
DREADME.md280 <code>0x01 EJDB_IDX_UNIQUE</code> | Index is unique
/third_party/ejdb/src/jql/
DREADME.md624 <code>0x01 EJDB_IDX_UNIQUE</code> | Index is unique
629 For example unique index of string type will be specified by `EJDB_IDX_UNIQUE | EJDB_IDX_STR` = `0x…
/third_party/ejdb/
DREADME.md796 <code>0x01 EJDB_IDX_UNIQUE</code> | Index is unique
801 For example unique index of string type will be specified by `EJDB_IDX_UNIQUE | EJDB_IDX_STR` = `0x…
1182 <code>0x01 EJDB_IDX_UNIQUE</code> | Index is unique