{"repo":"mweibel/connect-session-sequelize","free":true,"listed":false,"github":"https://github.com/mweibel/connect-session-sequelize","clone":"git clone https://github.com/mweibel/connect-session-sequelize.git","description":"Sequelize SessionStore for Express/Connect","language":"JavaScript","stars":214,"topics":["sequelize","express","nodejs","database","sessionstorage","sessions"],"license":"MIT","category":"databases-storage","readme_excerpt":"Connect Session Store using Sequelize connect-session-sequelize is a SQL session store using Sequelize.js. Installation Please note that the most recent version requires express 4. If you use express 3 you should install version 0.0.5 and follow the instructions in the previous README. Options - db a successfully connected Sequelize instance - table (optional) a table/model which has already been imported to your Sequelize instance, this can be used if you want to use a specific table in your db - modelKey (optional) a string for the key in sequelize's models-object but it is also the name of the class to which it references (conventionally written in Camelcase) that's why it is \"Session\" by default if table is not defined. - tableName (optional) a string for naming the generated table if table is not defined. Default is the value of modelKey . - extendDefaultFields (optional) a way add custom data to table columns. Useful if using a custom model definition - disableTouch (optional) When true, the store will not update the db when receiving a touch() call. This can be useful in limiting db writes and introducing more manual control of session updates. Usage With connect With express 4: If you want SequelizeStore to create/sync the database table for you, you can call sync() against an instance of SequelizeStore along with options if needed. This will run a sequelize sync() operation on the model for an initialized SequelizeStore object : Session expiry Session records are aut","default_branch":null,"files":null,"tree":[],"storefront":"/r/mweibel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mweibel/connect-session-sequelize/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}