MONGOC_GRIDFS_BUCKET_NEW - Online Linux Manual PageSection : 3
Updated : Feb 04, 2021
Source : 1.17.4
Note : libmongoc

NAMEmongoc_gridfs_bucket_new − mongoc_gridfs_bucket_new()

SYNOPSIS mongoc_gridfs_bucket_t * mongoc_gridfs_bucket_new (mongoc_database_t *db, const bson_t *opts, const mongoc_read_prefs_t *read_prefs, bson_error_t* error);

PARAMETERS • db: A mongoc_database_t​. • opts: A ­bson_t or NULL • read_prefs: A mongoc_read_prefs_t used for read operations or NULL to inherit read preferences from db​. • error: A ­bson_error_t or NULL​. opts may be NULL or a BSON document with additional command options: • bucketName: A UTF−8 string used as the prefix to the GridFS "chunks" and "files" collections. Defaults to "fs". The bucket name, together with the database and suffix collections must not exceed 120 characters. See the manual for ­the max namespace length​. • chunkSizeBytes: An int32 representing the chunk size. Defaults to 255KB. • writeConcern: Construct a mongoc_write_concern_t and use mongoc_write_concern_append to add the write concern to opts​. See the example code for mongoc_client_write_command_with_opts​. • readConcern: Construct a mongoc_read_concern_t and use mongoc_read_concern_append to add the read concern to opts​. See the example code for mongoc_client_read_command_with_opts​. Read concern requires MongoDB 3.2 or later, otherwise an error is returned.

DESCRIPTIONCreates a new mongoc_gridfs_bucket_t​. Use this handle to perform GridFS operations.

RETURNSA newly allocated mongoc_gridfs_bucket_t that should be freed with mongoc_gridfs_bucket_destroy() or NULL on failure.

AUTHORMongoDB, Inc

COPYRIGHT2017-present, MongoDB, Inc
0
Johanes Gumabo
Data Size   :   9,676 byte
man-mongoc_gridfs_bucket_new.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 198,856
Visitor ID   :     :  
Visitor IP   :   3.133.155.253   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.