Repository navigation
Closed
Milestone
Description
Features:
- Time zone should be set each time a connection is created. Default is UTC, but users should be able to overwrite this. This should affect both the connection timezone, and the timezone used when instantiaing a JS date (e.g. new Date(timestamp + 'user specified timezone')
- The connector manager should always use a connection pool - if the user disables pool = a pool with a single connection.
- Need to figure out whether several queries can be run in parallel on one connection
- Postgres seems to not support concurrent queries on a single connection http://stackoverflow.com/questions/21440048/postgres-concurrent-queries-in-a-connection
- "An important limitation of the MySQL C API library -... - is that you can't have two
concurrent queries running on a single connection http://grokbase.com/t/mysql/plusplus/08ckdrp7vr/can-a-connection-be-used-to-execute-more-than-1-query-sequentially-not-concurrently
- Need to figure out whether several queries can be run in parallel on one connection
- As much as possible should happen at the abstract level. Ideally only connect/disconnect of a single connection happens dialect-specific
- Transaction should be able to hold on to their connections, instead of creating a connector manager for each transaction. This probably means the possiblity of passing a connection to sequelize.query
- Transactions should immediately release connection on commit/rollback
- Support for read-replication
- Maybe - An abstract way of supplying type parser / connecting with the UP/DOWN datatypes system. Ideally I'd love to have as much type parsing code as possible moved close to the connector libs which, in the case of mysql and postgres has perfect knowledge of the types involved
Metadata
Metadata
Assignees
Labels
No labels
Activity
mickhansen commentedon Jun 12, 2014
Some work being done with #1892
janmeier commentedon Jul 13, 2014
Not sure we'll have time to do the UP / DOWN system for this release, @mickhansen ?
mickhansen commentedon Jul 14, 2014
@janmeier likely not, no reason to hold off either - The two other issues solves bugs/issues, UP / DOWN is mostly refactoring for the sake of the codebase. We could just move it to a seperate issue.