Type Alias SqliteCacheAdapterSettings

SqliteCacheAdapterSettings: {
    database: ISqliteDatabase;
    expiredKeysRemovalInterval?: TimeSpan;
    serde: ISerde<string>;
    shouldRemoveExpiredKeys?: boolean;
    tableName?: string;
}

IMPORT_PATH: "@daiso-tech/core/cache/adapters"

Type declaration

  • database: ISqliteDatabase
  • OptionalexpiredKeysRemovalInterval?: TimeSpan
    import { TimeSpan } from "@daiso-tech/core/utilities";

    TimeSpan.fromMinutes(1);
  • serde: ISerde<string>
  • OptionalshouldRemoveExpiredKeys?: boolean
    {true}
    
  • OptionaltableName?: string