connect-session-knex
connect-session-knex copied to clipboard
A knex.js session store for express-session, supporting PostgreSQL, MySQL, MariaDB, Oracle and SQLite.
I'm trying to upgrade an application from bluebird v2 to bluebird v3 but started seeing some bluebird warnings triggered by express routes. Here is a sample application that causes the...
When autocommit is turned off (i.e., in transaction mode), connect-session-knex no longer works in MySQL. This is because session update statements might be executed on different connections, and a table...
Hi, I'd like to be able to specify the column names of the sessions table. In my case, I'd like the `expired` column to be named `expired` and the `sess`...
Hi All, I'm using express-session to store the session to a postgres table. If I use ` resave: true, saveUninitialized: true,` then it's creating a separate session entry in DB...
This code is adapted from the example at https://github.com/gx0r/connect-session-knex/blob/main/examples/example-postgres.mjs but results inthe error `Cannot find module 'sqlite3'` in `node_modules/connect-session-knex/dist/index.js:26:36` ``` 'use strict'; import pg from 'pg'; import knex from 'knex';...
typo on tablename, the correct spelling is tableName