Scroll to navigation

MONGOC_GRIDFS_FILE_GET_ALIASES(3) libmongoc MONGOC_GRIDFS_FILE_GET_ALIASES(3)

SYNOPSIS

const bson_t *
mongoc_gridfs_file_get_aliases (mongoc_gridfs_file_t *file);


PARAMETERS

file: A mongoc_gridfs_file_t <>.

DESCRIPTION

Fetches the aliases associated with a gridfs file.

RETURNS

Returns a bson_t <https://www.mongoc.org/libbson/current/bson_t.html> that should not be modified or freed.

Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

November 26, 2025 2.2.0