Searched refs:EJDB_IDX_UNIQUE (Results 1 – 10 of 10) sorted by relevance
/third_party/ejdb/src/jbi/ |
D | jbi_util.c | 11 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()
|
D | jbi_selection.c | 8 if (m & EJDB_IDX_UNIQUE) { in _jbi_print_index()
|
/third_party/ejdb/src/tests/ |
D | ejdb_test1.c | 103 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()
|
D | ejdb_test3.c | 33 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()
|
D | ejdb_test4.c | 156 rc = ejdb_ensure_index(db, "users", "/uuid", EJDB_IDX_STR | EJDB_IDX_UNIQUE); in ejdb_test4_2()
|
/third_party/ejdb/src/ |
D | ejdb2.h | 67 #define EJDB_IDX_UNIQUE ((ejdb_idx_mode_t) 0x01U) macro
|
D | ejdb2.c | 1124 …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/ |
D | README.md | 280 <code>0x01 EJDB_IDX_UNIQUE</code> | Index is unique
|
/third_party/ejdb/src/jql/ |
D | README.md | 624 <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/ |
D | README.md | 796 <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
|