{"version":3,"sources":["../../src/decorator/options/IndexOptions.ts"],"names":[],"mappings":"","file":"IndexOptions.js","sourcesContent":["/**\n * Describes all index options.\n */\nexport interface IndexOptions {\n\n /**\n * Indicates if this composite index must be unique or not.\n */\n unique?: boolean;\n\n /**\n * The SPATIAL modifier indexes the entire column and does not allow indexed columns to contain NULL values.\n * Works only in MySQL and PostgreSQL.\n */\n spatial?: boolean;\n\n /**\n * The FULLTEXT modifier indexes the entire column and does not allow prefixing.\n * Works only in MySQL.\n */\n fulltext?: boolean;\n\n /**\n * Index filter condition.\n */\n where?: string;\n\n /**\n * If true, the index only references documents with the specified field.\n * These indexes use less space but behave differently in some situations (particularly sorts).\n * This option is only supported for mongodb database.\n */\n sparse?: boolean;\n\n /**\n * Builds the index in the background so that building an index an does not block other database activities.\n * This option is only supported for mongodb database.\n */\n background?: boolean;\n\n /**\n * Specifies a time to live, in seconds.\n * This option is only supported for mongodb database.\n */\n expireAfterSeconds?: number;\n\n}\n"],"sourceRoot":"../.."}
|