Igor Savin
41606d799c
Move remaining builders to class ( #4210 )
2021-01-06 20:14:44 +02:00
Igor Savin
6275ea3b08
Migrate columncompiler to classes ( #4193 )
2021-01-01 20:35:54 +02:00
Igor Savin
0e09fcd3c1
Refactor to classes (part 2) ( #4191 )
2021-01-01 18:46:16 +02:00
Igor Savin
b43dadbe01
Refactor to classes ( #4190 )
2021-01-01 17:46:10 +02:00
Igor Savin
936126c0f0
Add analytic functions v2 ( #4188 )
...
Co-authored-by: CorvusCorrax <renaud.cayol@gmail.com>
Co-authored-by: Alexandre Tiertant <alexandre.tiertant@gmail.com>
2020-12-31 14:38:50 +02:00
Igor Savin
2aec21ed5e
Try to introduce some organization into how files are grouped ( #4178 )
2020-12-28 16:55:08 +02:00
Nico Burns
8d43019873
Implement "UPSERT" (Postgres/MySQL/Sqlite) ( #3763 )
2020-10-31 17:22:52 +02:00
torres-federico
69167b6fa9
Oracle: replace user_tab_columns with all_tab_columns ( #4061 )
2020-10-28 22:42:24 +02:00
Bogdan Chadkin
80355e4850
Replace inherits package with builtin utility ( #4059 )
2020-10-05 23:59:12 +03:00
Bogdan Chadkin
6f817a3b6e
Avoid lodash typecheks ( #4056 )
...
* Avoid lodash typecheks
Lodash is quite big project. Even with direct imports it loads [tons](https://github.com/knex/knex/pull/3804 ) of
code and still bloats node_modules. Especially since lodash mostly used
as a polyfill for modern features.
In this diff I attempted to reduce lodash usage by replacing type checks
with `typeof` operator which might be sufficient.
Also replaced lodash/isObject with custom simplified utility which does not
consider functions as objects and allows to simplify code in one place.
2020-10-05 21:29:39 +03:00
Igor Savin
e37aeaa31c
Prepare for 0.21.0 release ( #3811 )
2020-04-19 00:40:23 +02:00
tkalliom
02d94d96b0
Reduce size of lodash in bundle ( #3804 )
2020-04-18 19:41:23 +02:00
Brian Lauber
51052c52e8
Cleanup/remove dead oracle code ( #3697 )
2020-03-03 00:18:45 +01:00
maximelkin
b025aea318
remove dependency on bluebird methods from sources ( #3683 )
...
Co-authored-by: Brian Lauber <constructible.truth@gmail.com>
2020-02-25 22:50:24 +01:00
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