24 #ifndef JULEA_DB_UTIL_BSON_H
25 #define JULEA_DB_UTIL_BSON_H
36 gboolean
j_bson_has_field(bson_t* bson, gchar
const* name, gboolean* has_field, GError** error);
40 gboolean
j_bson_append_array(bson_t* bson,
const char* key, bson_t* bson_child, GError** error);
48 gboolean
j_bson_iter_init(bson_iter_t* iter,
const bson_t* bson, GError** error);
49 gboolean
j_bson_iter_next(bson_iter_t* iter, gboolean* has_next, GError** error);
54 gboolean
j_bson_iter_find(bson_iter_t* iter,
const char* key, GError** error);
gboolean j_bson_iter_recurse_document(bson_iter_t *iter, bson_iter_t *iter_child, GError **error)
Definition: jbson.c:498
gboolean j_bson_append_value(bson_t *bson, const char *name, JDBType type, JDBTypeValue *value, GError **error)
Definition: jbson.c:159
gboolean j_bson_iter_init(bson_iter_t *iter, const bson_t *bson, GError **error)
Definition: jbson.c:36
gboolean j_bson_append_array_begin(bson_t *bson, const char *key, bson_t *bson_child, GError **error)
Definition: jbson.c:717
gboolean j_bson_iter_skip_key(bson_iter_t *iter, const char *key, GError **error)
Definition: jbson.c:115
gboolean j_bson_iter_recurse_array(bson_iter_t *iter, bson_iter_t *iter_child, GError **error)
Definition: jbson.c:469
gboolean j_bson_append_document(bson_t *bson, const char *key, bson_t *bson_child, GError **error)
Definition: jbson.c:769
gboolean j_bson_iter_next(bson_iter_t *iter, gboolean *has_next, GError **error)
Definition: jbson.c:65
gboolean j_bson_array_generate_key(guint32 index, const char **key, char *buf, guint buf_length, GError **error)
Definition: jbson.c:663
gboolean j_bson_iter_key_equals(bson_iter_t *iter, const char *key, gboolean *equals, GError **error)
Definition: jbson.c:90
const char * j_bson_iter_key(bson_iter_t *iter, GError **error)
Definition: jbson.c:142
gboolean j_bson_iter_find(bson_iter_t *iter, const char *key, GError **error)
Definition: jbson.c:411
gboolean j_bson_append_array_end(bson_t *bson, bson_t *bson_child, GError **error)
Definition: jbson.c:746
gboolean j_bson_iter_copy_document(bson_iter_t *iter, bson_t *bson, GError **error)
Definition: jbson.c:527
gboolean j_bson_has_field(bson_t *bson, gchar const *name, gboolean *has_field, GError **error)
Definition: jbson.c:612
gboolean j_bson_append_document_end(bson_t *bson, bson_t *bson_child, GError **error)
Definition: jbson.c:827
gboolean j_bson_append_document_begin(bson_t *bson, const char *key, bson_t *bson_child, GError **error)
Definition: jbson.c:798
gboolean j_bson_append_array(bson_t *bson, const char *key, bson_t *bson_child, GError **error)
Definition: jbson.c:688
gboolean j_bson_init(bson_t *bson, GError **error)
Definition: jbson.c:593
void j_bson_destroy(bson_t *bson)
Definition: jbson.c:582
gboolean j_bson_count_keys(bson_t *bson, guint32 *count, GError **error)
Definition: jbson.c:637
gboolean j_bson_iter_value(bson_iter_t *iter, JDBType type, JDBTypeValue *value, GError **error)
Definition: jbson.c:271
gboolean j_bson_iter_not_find(bson_iter_t *iter, const char *key, GError **error)
Definition: jbson.c:440
gboolean j_bson_has_enough_keys(const bson_t *bson, guint32 min_keys, GError **error)
Definition: jbson.c:559
JDBType
Definition: jdb-type.h:35
Definition: jdb-type.h:50