connect-mariasql
A lightweight, functional MariaDB session storage wrapper for connect.
It uses an already-created mariasql
(their [github]) connection, creates the sessions
table on the fly (if necessary), and will not burn your house down.
license
MIT license
usage
var express =MariaSQL =MariaStore = expressdb =dbvar app =app// ...
new MariaStore(options)
options
:table
(string, default:sessions
) - the name of the table to store sessions insideclient
- (required!) the MariaSQL client connection to utilize