schema

package
v0.0.0-...-2f69930 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL