Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Upload = bson.M{ "name": "upload", "index": []mongo.IndexModel{ { bson.D{ {"type", 1}, }, options.Index(), }, { bson.D{ {"storage", 1}, }, options.Index(), }, { bson.D{ {"user_id", 1}, }, options.Index(), }, { bson.D{ {"content_type", 1}, }, options.Index(), }, { bson.D{ {"original_file_name", 1}, }, options.Index(), }, { bson.D{ {"file_name", 1}, }, options.Index(), }, { bson.D{ {"file_ext", 1}, }, options.Index(), }, }, } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.