51 Commits

Author SHA1 Message Date
Lorefnon
589ea747c2
Update QueryCompiler implementation to use classes (#3647) 2020-02-01 17:22:00 +01:00
maximelkin
84fce33f69 Remove bluebird.using (#3552) 2019-11-28 20:44:18 +01:00
Igor Savin
1ca7bc2f2b
Clarify acquireConnection() signature (#3554) 2019-11-28 00:01:29 +01:00
abskmj
1f4d8f28ed Fix Oracle error codes (#3498) 2019-10-28 15:38:28 +01:00
maximelkin
03ecbeef1f Bluebird remove return, reflect, fromCallback (#3483) 2019-10-25 19:59:30 +02:00
Ricardo Graça
9aa7085b05 Rename src directory to lib (#3338) 2019-07-10 23:48:43 +02:00
Mikael Lepistö
7140a48226 Remove generated lib from repository and run build in prepublish 2016-01-21 09:59:30 +02:00
Sky Morey
7c1120e0e2 in progress 2015-12-08 11:37:31 -06:00
Hannah Wolfe
f72892b5b9 Distinct modifier support for aggregate functions
closes #1028

- add support for count(distinct *), avg(distinct *) and sum(distinct *)
- min and max don't really make sense with distinct, so didn't add those
2015-11-09 12:48:42 +00:00
Mikael Lepistö
fef0a09197 Did npm run build 2015-08-25 10:23:34 +03:00
Helios
962d09de6d fixed connection error handling for oracle dialect 2015-07-13 12:04:40 +03:00
Tim Griesser
04c20439ec Recompile after merging oracle patch, #876 2015-06-29 13:07:28 -04:00
Tim Griesser
421cb4f4eb Commit compiled files 2015-06-01 09:17:11 -04:00
Tim Griesser
e3ef628156 Beginning to use => 2015-05-09 14:07:58 -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
e179634600 Switch to shell script for release, other tidying of config/directories 2015-04-29 19:13:50 -04:00
Tim Griesser
c40b1339aa Update process for web script build 2015-04-29 17:11:52 -04:00
Tim Griesser
ca158836a0 Cast buffer to string, #796 2015-04-28 08:14:22 -04:00
Tim Griesser
7b17cc404a Oracle test suite up to date 2015-04-27 20:22:05 -04:00
Tim Griesser
f735dcb9c8 Raw identifiers and named parameters
Adds ?? for interpolating identifiers in raw
statements. Also adds raw(sql, obj) for
named :key syntax. Alternatively, 🔑
(trailing colon) may be used to specify an
identifier as a parameter.
2015-04-27 15:58:48 -04:00
Tim Griesser
46e318d6da Cleaning up transactions, passing options arg to pipe 2015-04-23 14:51:33 -04:00
Tim Griesser
e570c167c1 JSHint and formatting 2015-04-22 15:39:29 -04:00
Tim Griesser
871b50b5aa Cleaning up WebSQL & Oracle transaction implementations 2015-04-22 15:24:29 -04:00
Tim Griesser
7dfad30ff0 browserify -> webpack 2015-04-22 14:53:31 -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
Vincent Schoettke
5cd47fab98 Fixed returning bug with oracle
Fixes non working returning() with oracle introduced with #580 (strong-oracle support)
2015-03-16 10:04:49 +01:00
Tim Griesser
e9782a8932 Merge branch 'master' of github.com:tgriesser/knex
* 'master' of github.com:tgriesser/knex:
  Allow debugging to be disabled for a query
  fix float for oracle dialect. fixes #735
2015-03-13 01:33:36 -04:00
Tim Griesser
13995d6936 Fix #737, proper escaping for identifiers 2015-03-13 01:17:32 -04:00
Vincent Schoettke
505b019eaf fix float for oracle dialect. fixes #735 2015-03-12 20:34:50 +01:00
Kris Reeves
dc5f32ad20 Override pool.release for oracle too. Uncertain if client.close is async, so pretending it's sync. 2015-02-19 12:13:42 -05:00
Ben Drucker
52e2403c29 Merge pull request #586 from tgriesser/limit-0
Properly handle limit 0
2014-12-22 21:44:24 +01:00
Ben Drucker
27810950ed Properly handle limit 0 2014-11-30 19:47:50 -05:00
llambda
9560058d15 Support strong-oracle 2014-11-26 17:57:24 -06:00
Vincent Schoettke
72cf342273 Fixes #319. Inserting multiple rows with default values 2014-09-08 16:10:43 +02:00
Tim Griesser
9ecd443417 Add .beginTransaction method for consistency, fix #458 2014-09-03 16:19:52 -04:00
Vincent Schoettke
f3874ac651 Fixed several jshint warnings. Added strict mode 2014-09-01 17:19:34 +02:00
Vincent Schoettke
d0b8c717e4 oracle - fixed non-supported options 2014-08-27 10:10:20 +02:00
Tim Griesser
cd4864e740 Merge branch 'master' of github.com:tgriesser/knex
* 'master' of github.com:tgriesser/knex:
  oracle - fixed first and added more tests
  Fix bad argument to builder.whereNull
  don't throw away the postgres client's password
  oracle - fixed SQL for dropping multiple columns
  Do not attempt to release undefined connections from pool, #414
2014-08-24 14:26:56 -04:00
Vincent Schoettke
f545c86081 oracle - fixed first and added more tests 2014-08-22 01:13:15 +02:00
Vincent Schoettke
04ddae3fda oracle - fixed SQL for dropping multiple columns 2014-08-21 00:17:49 +02:00
Tim Griesser
75be73c45e Merge branch 'master' of github.com:tgriesser/knex
* 'master' of github.com:tgriesser/knex:
  oracle - fix returning for non-integer types
  oracle - fixed create if not exists
2014-08-20 14:20:47 -04:00
Vincent Schoettke
2eaedd0afa oracle - fix returning for non-integer types 2014-08-20 09:34:32 +02:00
Vincent Schoettke
9a0e7abdaa oracle - fixed create if not exists 2014-08-16 14:20:44 +02:00
Tim Griesser
b8f32300d3 Remove use strict for consistency 2014-08-14 18:01:27 -04:00
Tim Griesser
0b1af71ac3 Cleanup for #383 2014-08-14 15:32:26 -04:00
Vincent Schoettke
0faf1c9067 oracle - added seeder 2014-08-13 22:02:18 +02:00
Vincent Schoettke
0ba6b49495 oracle - added support for multiple returning values 2014-08-13 21:53:42 +02:00