connect-session-knex
connect-session-knex copied to clipboard
A knex.js session store for express-session, supporting PostgreSQL, MySQL, MariaDB, Oracle and SQLite.
It seems #89 actually breaks usage in TypeScript projects: ``` $ tsc && DEBUG=true node ./dist/server.js node_modules/connect-session-knex/typings/index.d.ts:19:5 - error TS2666: Exports and export assignments are not permitted in module augmentations....
Apparently, this module only allows one to pass a custom table name, but not a schema name. As a result, it is impossible to use a schema other than the...
Hi I was wondering if it's possible to add custom fields as a column to the sessions table? Is there any specific way of doing that? For example by default...
incompitable types: 'generateDdlCommands' is missing in type Raw<any> but required in Knex.Raw<any>
"knex": "^0.95.11"
Hello, I'm not completely familiar with PostgreSQL/SQLite nomenclature (i.e.: btree). I don't have an option to create a Clustered index for the Expired column.... can it be Non-Clustered? Best I...
right now the getPostgresFastQuery is broken for cockroach https://github.com/gx0r/connect-session-knex/blob/master/lib/utils.js#L99 changing the line from ` + ' values (?, ?::timestamp with time zone, ?::json)'` to ` + ' values (?::string, ?::timestamp...
It would be very useful to provide an example knex migration creating a `sessions` table in the documentation. I am not sure if I have this right, but this is...
✖ Initialising Keystone instance TypeError: self.knex.schema.hasTable is not a function at new KnexStore (E:\projects\blogging\node_modules\connect-session-knex\lib\index.js:106:8) ``` const { KnexAdapter: Adapter } = require('@keystonejs/adapter-knex'); const adapterConfig = { knexOptions: { connection: process.env.DATABASE_URL...
Express session says that a session store implementation must implement destroy. I'm hoping the library can be updated to allow for a way to configure the callback when a session...
I just decided for the first time to use a way to store express sessions with my already-existing database, which uses MariaDB version 10.1.44. First of all, I experienced the...