36 Commits

Author SHA1 Message Date
Sky Morey
aa8df07711 merge 2015-12-14 11:10:46 -06:00
Sky Morey
7c1120e0e2 in progress 2015-12-08 11:37:31 -06:00
Brian Black
cee729cad0 Properly escape single quotes in postgres 2015-11-29 18:44:12 -05:00
Brian Black
c6230568cd SqlString is now per-dialect 2015-11-29 18:44:12 -05:00
Mikael Lepistö
fef0a09197 Did npm run build 2015-08-25 10:23:34 +03:00
Daniel Teixeira
70e4692638 add support to postgres search_path 2015-08-09 23:04:57 -03:00
Tim Griesser
6cef074236 Fix correct files for #851 2015-06-01 09:22:27 -04:00
Tim Griesser
421cb4f4eb Commit compiled files 2015-06-01 09:17:11 -04:00
Kris Reeves
c1c6d401b8 Also fix up postgres _stream function to bind an error handler on the query object 2015-05-29 12:41:33 -04:00
Tim Griesser
521a6f9e97 Remove use strict, assumed in ES6 2015-05-09 14:01:19 -04:00
Tim Griesser
7e884cb325 Babel src -> lib, remove gulp 2015-05-09 13:58:18 -04:00
Tim Griesser
c40b1339aa Update process for web script build 2015-04-29 17:11:52 -04:00
Tim Griesser
ff76297506 Normalize connection config, fix #789 2015-04-29 15:14:41 -04:00
Tim Griesser
04a0aa6935 Removing explicit build directory, building lib in docs instead 2015-04-27 15:48:23 -04:00
Tim Griesser
e570c167c1 JSHint and formatting 2015-04-22 15:39:29 -04:00
Tim Griesser
f9aab9dc76 Major internal refactor
Beefed up transaction implementation, still needs tests
and cleanup of nested transaction queues.

Left todo:
- Fix commented out tests
- Fix oracle driver's transactions
2015-04-22 10:34:14 -04:00
Tim Griesser
eee4e9c005 Fixing the overall class dependency approach, lots of internal cleanup, WIP 2015-04-19 16:31:52 -04:00
Tim Griesser
27cd9f12c5 Cleanup pool implementation, preparing things for new release 2015-04-17 15:00:08 -04:00
Kris Reeves
84aef3bd4c Handle postgres connection "error" and "end" events
Closes #659
2015-02-23 09:35:57 -05:00
Tim Griesser
776acf3f30 Fix #516, connection parameters not properly preserved 2014-10-03 11:03:34 -04:00
Vincent Schoettke
ef173db790 Changed jshint option unused to true and fixed warnings 2014-09-02 22:56:51 +02:00
Vincent Schoettke
98f4f9a1dd Removed jshint expr and fixed warnings 2014-09-02 22:03:14 +02:00
Vincent Schoettke
f3874ac651 Fixed several jshint warnings. Added strict mode 2014-09-01 17:19:34 +02:00
Tim Griesser
83b2c2b078 Fix #434, add returning config option 2014-08-24 14:41:48 -04:00
Neil Gentleman
ab4c6dabbc don't throw away the postgres client's password
broken by tgriesser/knex#390
2014-08-20 15:52:19 -07:00
Tim Griesser
1bdf35cafa Merge pull request #390 from bhirt-bpl/master
fix for using a pgConnectionString
2014-08-14 15:13:30 -04:00
bhirt-gf
9321abd6c0 fix for using a pgConnectionString, the parsed connection string settings will be set in the connectionSettings of the knex object. Without this, some features like columnInfo() will fail when connecting to a database with a pgConnectionString 2014-07-21 12:00:12 -06:00
Noah Santorello
f8d01e9901 Initial commit of seed functionality 2014-07-21 09:42:56 -04:00
Pelle Wessman
bdc3b43655 Added a function helper collection
To make it possible for individual dialects to provide their own variant of common SQL-functions like NOW()
2014-07-18 12:41:23 +02:00
Tim Griesser
86c0863147 remove knex.utils, move pgBindings to client.positionBindings 2014-07-14 13:51:43 -04:00
Tim Griesser
e3cfc7440c get rid of mysql/pg string dependencies, #283 2014-05-28 01:11:20 -04:00
Tim Griesser
5b9336a284 sqlstring now pulled from node-mysql, pq queries escaped 2014-05-06 18:15:16 -04:00
Tim Griesser
6c76cc5cf0 adding jshint, cleaning unused variables 2014-04-16 03:22:47 -04:00
Tim Griesser
0de9513a78 all tests green 2014-04-16 01:23:50 -04:00
Tim Griesser
a62ca4f7ee schema tests passing, some of the builder tests passing 2014-04-15 11:43:47 -04:00
Tim Griesser
dfdc426751 Majorly refactoring every piece of the library, WIP 2014-04-08 16:25:57 -04:00