Type Alias LibsqlCacheAdapterSettings

LibsqlCacheAdapterSettings: {
    database: Client;
    disableTransaction?: boolean;
    expiredKeysRemovalInterval?: TimeSpan;
    serde: ISerde<string>;
    shouldRemoveExpiredKeys?: boolean;
    tableName?: string;
}

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

Type declaration

  • database: Client
  • OptionaldisableTransaction?: boolean
    {false}
    
  • OptionalexpiredKeysRemovalInterval?: TimeSpan
    import { TimeSpan } from "@daiso-tech/core/utilities";

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