Home
last modified time | relevance | path

Searched refs:put_json2 (Results 1 – 4 of 4) sorted by relevance

/third_party/ejdb/src/tests/
Dejdb_test.h54 static iwrc put_json2(EJDB db, const char *coll, const char *json, int64_t *id) { in put_json2() function
Dejdb_test3.c725 rc = put_json2(db, "a3", dbuf, &docId); in ejdb_test3_4()
772 rc = put_json2(db, "a3", "{\"tags\": [\"gaz\",\"zaz\"],\"n\":2}", &docId); in ejdb_test3_4()
776 rc = put_json2(db, "a3", "{\"tags\": [\"gaz\",\"zaz\",\"boo\"],\"n\":2}", &docId); in ejdb_test3_4()
1057 rc = put_json2(db, "users", "{'name':'Andy'}", &id1); in ejdb_test3_8()
1060 rc = put_json2(db, "users", "{'name':'John'}", &id2); in ejdb_test3_8()
Dejdb_test4.c48 rc = put_json2(db, "artists", "{'name':'Leonardo Da Vinci', 'years':[1452,1519]}", &id); in ejdb_test4_1()
Dejdb_test1.c30 rc = put_json2(db, "c1", "{'foo':'bar'}", &id); in ejdb_test1_3()