|
libmongo-client 0.1.4
|
MongoDB GridFS implementation. More...

Go to the source code of this file.
Functions | |
| mongo_sync_gridfs * | mongo_sync_gridfs_new (mongo_sync_connection *conn, const gchar *ns_prefix) |
| Create a new GridFS object. | |
| void | mongo_sync_gridfs_free (mongo_sync_gridfs *gfs, gboolean disconnect) |
| Close and free a GridFS object. | |
| gint32 | mongo_sync_gridfs_get_chunk_size (mongo_sync_gridfs *gfs) |
| Get the default chunk size of a GridFS object. | |
| gboolean | mongo_sync_gridfs_set_chunk_size (mongo_sync_gridfs *gfs, gint32 chunk_size) |
| Set the default chunk size of a GridFS object. | |
| mongo_sync_cursor * | mongo_sync_gridfs_list (mongo_sync_gridfs *gfs, const bson *query) |
| List GridFS files matching a query. | |
| const guint8 * | mongo_sync_gridfs_file_get_id (gpointer gfile) |
| Get the file ID of a GridFS file. | |
| gint64 | mongo_sync_gridfs_file_get_length (gpointer gfile) |
| Get the length of a GridFS file. | |
| gint32 | mongo_sync_gridfs_file_get_chunk_size (gpointer gfile) |
| Get the chunk size of a GridFS file. | |
| const gchar * | mongo_sync_gridfs_file_get_md5 (gpointer gfile) |
| Get the MD5 digest of a GridFS file. | |
| gint64 | mongo_sync_gridfs_file_get_date (gpointer gfile) |
| Get the upload date of a GridFS file. | |
| const bson * | mongo_sync_gridfs_file_get_metadata (gpointer gfile) |
| Get the full metadata of a GridFS file. | |
| gint64 | mongo_sync_gridfs_file_get_chunks (gpointer gfile) |
| Get the number of chunks in a GridFS file. | |
| gboolean | mongo_sync_gridfs_remove (mongo_sync_gridfs *gfs, const bson *query) |
| Delete files matching a query from GridFS. | |
MongoDB GridFS implementation.
Definition in file sync-gridfs.c.
1.7.4