Synopsis
CouchdbDocumentClass;
CouchdbDocument * couchdb_document_new (void);
const char * couchdb_document_get_id (CouchdbDocument *document);
void couchdb_document_set_id (CouchdbDocument *document,
const char *id);
const char * couchdb_document_get_revision (CouchdbDocument *document);
void couchdb_document_set_revision (CouchdbDocument *document,
const char *revision);
gboolean couchdb_document_has_field (CouchdbDocument *document,
const char *field);
void couchdb_document_remove_field (CouchdbDocument *document,
const char *field);
CouchdbArrayField * couchdb_document_get_array_field (CouchdbDocument *document,
const char *field);
void couchdb_document_set_array_field (CouchdbDocument *document,
const char *field,
CouchdbArrayField *value);
gboolean couchdb_document_get_boolean_field (CouchdbDocument *document,
const char *field);
void couchdb_document_set_boolean_field (CouchdbDocument *document,
const char *field,
gboolean value);
gint couchdb_document_get_int_field (CouchdbDocument *document,
const char *field);
void couchdb_document_set_int_field (CouchdbDocument *document,
const char *field,
gint value);
gdouble couchdb_document_get_double_field (CouchdbDocument *document,
const char *field);
void couchdb_document_set_double_field (CouchdbDocument *document,
const char *field,
gdouble value);
const char * couchdb_document_get_string_field (CouchdbDocument *document,
const char *field);
void couchdb_document_set_string_field (CouchdbDocument *document,
const char *field,
const char *value);
CouchdbStructField * couchdb_document_get_struct_field (CouchdbDocument *document,
const char *field);
void couchdb_document_set_struct_field (CouchdbDocument *document,
const char *field,
CouchdbStructField *value);
char * couchdb_document_to_string (CouchdbDocument *document);
Details
CouchdbDocumentClass
typedef struct {
GObjectClass parent_class;
} CouchdbDocumentClass;
couchdb_document_get_id ()
const char * couchdb_document_get_id (CouchdbDocument *document);
couchdb_document_set_id ()
void couchdb_document_set_id (CouchdbDocument *document,
const char *id);
couchdb_document_get_revision ()
const char * couchdb_document_get_revision (CouchdbDocument *document);
couchdb_document_set_revision ()
void couchdb_document_set_revision (CouchdbDocument *document,
const char *revision);
couchdb_document_has_field ()
gboolean couchdb_document_has_field (CouchdbDocument *document,
const char *field);
couchdb_document_remove_field ()
void couchdb_document_remove_field (CouchdbDocument *document,
const char *field);
couchdb_document_get_array_field ()
CouchdbArrayField * couchdb_document_get_array_field (CouchdbDocument *document,
const char *field);
couchdb_document_set_array_field ()
void couchdb_document_set_array_field (CouchdbDocument *document,
const char *field,
CouchdbArrayField *value);
couchdb_document_get_boolean_field ()
gboolean couchdb_document_get_boolean_field (CouchdbDocument *document,
const char *field);
couchdb_document_set_boolean_field ()
void couchdb_document_set_boolean_field (CouchdbDocument *document,
const char *field,
gboolean value);
couchdb_document_get_int_field ()
gint couchdb_document_get_int_field (CouchdbDocument *document,
const char *field);
couchdb_document_set_int_field ()
void couchdb_document_set_int_field (CouchdbDocument *document,
const char *field,
gint value);
couchdb_document_get_double_field ()
gdouble couchdb_document_get_double_field (CouchdbDocument *document,
const char *field);
couchdb_document_set_double_field ()
void couchdb_document_set_double_field (CouchdbDocument *document,
const char *field,
gdouble value);
couchdb_document_get_string_field ()
const char * couchdb_document_get_string_field (CouchdbDocument *document,
const char *field);
couchdb_document_set_string_field ()
void couchdb_document_set_string_field (CouchdbDocument *document,
const char *field,
const char *value);
couchdb_document_get_struct_field ()
CouchdbStructField * couchdb_document_get_struct_field (CouchdbDocument *document,
const char *field);
couchdb_document_set_struct_field ()
void couchdb_document_set_struct_field (CouchdbDocument *document,
const char *field,
CouchdbStructField *value);
couchdb_document_to_string ()
char * couchdb_document_to_string (CouchdbDocument *document);