JLuboff / connect-mssql-v2

MS SQL Server session store for Express Session
MIT License
5 stars 7 forks source link

Add Support for Column Name Mapping in Options #74

Open david-ort opened 3 months ago

david-ort commented 3 months ago

Summary:

Add support for column name mapping in the options object to allow developers customize the names of the columns used to store session data in the database.

Description:

Currently, the package uses a set of predefined column names for storing session data (e.g., sid, session, expires). To enhance flexibility and integration with existing databases, it would be beneficial to allow developers to map these column names to custom names of their choosing.

Motivation:

I know it might seem like a small thing, but I think it would be useful.

JLuboff commented 3 months ago

@david-ort Not a small thing at all! I think this is a great idea. I'll try to get to this this week.

JLuboff commented 3 months ago

This is still a WIP. I started working on it, but have been swamped with work/home life. Will continue with it when time permits. Thank you in advance for your patience :D