createCacheEntrySchema
createCacheEntrySchema(
table?):EntitySchema<CacheEntry>
Defined in: packages/ddd-mikro-orm/src/cache/cache-entry.ts:66
MikroORM entity schema for CacheEntry. Register it with the ORM that
backs MikroOrmCache; pass table when the table is not named cache.
expires_at is a bigint column, because epoch milliseconds overflow a
32-bit integer.
Parameters
Section titled “Parameters”table?
Section titled “table?”string = 'cache'
Table name, optionally schema-qualified. Default 'cache'.
Returns
Section titled “Returns”EntitySchema<CacheEntry>