Tim Griesser
2ff6323f39
Support for .join(table, raw) and join using
2014-10-01 19:18:25 -04:00
Tim Griesser
5280e6e91c
Handle empty array case for whereIn, fix #477
2014-10-01 15:50:48 -04:00
Tim Griesser
b4333f9fee
Consistent handling of 'not' cases similar to 'or'
2014-10-01 15:22:49 -04:00
Vincent Schoettke
5c7d106283
join columns now optional. Fixes #504
2014-09-29 10:05:53 +02:00
Vincent Schoettke
72cf342273
Fixes #319 . Inserting multiple rows with default values
2014-09-08 16:10:43 +02:00
Vincent Schoettke
4c43d69313
Enabled eqeqeq jshint restriction and fixed warnings
2014-09-03 11:04:10 +02:00
Vincent Schoettke
ef173db790
Changed jshint option unused to true and fixed warnings
2014-09-02 22:56:51 +02:00
Vincent Schoettke
a373905171
Removed jshint eqnull and fixed warnings
2014-09-02 22:19:22 +02:00
Vincent Schoettke
f3874ac651
Fixed several jshint warnings. Added strict mode
2014-09-01 17:19:34 +02:00
Vincent Schoettke
8f5ccc1e45
Fix #440 , orderBy with raw argument should use direction
2014-09-01 14:16:07 +02:00
Tim Griesser
886634eb02
Fix #441 , raw in first argument of join
2014-08-31 12:20:31 -04:00
Tim Griesser
289c661152
Fix #427 , raw / subqueries on insert
2014-08-24 14:50:29 -04: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
Ben Drucker
0e60ca120f
Fix bad argument to builder.whereNull
...
Closes #431
2014-08-21 17:35:51 -04:00
Tim Griesser
ac984b9e9b
Add .joinRaw and remove deprecated join notices
2014-08-14 18:02:50 -04:00
Tim Griesser
f14e894748
Support natural join, #423
2014-08-14 16:00:06 -04:00
Antoine Gomez
19bce8ea79
Fix global variable 'data' in JoinClause.on method
2014-08-12 15:30:52 -04:00
Calvin Metcalf
ef981aa566
chained not, or, and and
2014-07-03 14:19:36 -04:00
Tim Griesser
295f57d296
Fix #282 , add raw support in groupBy / orderBy
...
Adds groupByRaw, orderByRaw as convenience methods
for groupBy(raw) / orderBy(raw)
2014-06-27 11:58:06 -04:00
Tim Griesser
e9dea0435d
Support alias subselect with 'as' method
2014-06-14 16:26:01 -04:00
Tim Griesser
215864ec70
.whereExists / .whereNotExists may also take knex builder
2014-06-14 09:58:38 -04:00
Tim Griesser
c10001dc59
don't add undefined columns
2014-06-06 17:27:09 -04:00
Tim Griesser
e73217e4c5
release 0.6.2
2014-06-04 16:24:29 -04:00
Tim Griesser
08fd7483c8
Even more documentation, added .pipe to the interface
2014-06-03 14:21:31 -04:00
Tim Griesser
af1f9e83ae
Fix #244 , normalize for inconsistent insert rows
2014-06-03 00:47:54 -04:00
Tim Griesser
5111370503
Don't deprecate havingRaw
2014-05-09 15:03:48 -04:00
Tim Griesser
5726c3250f
move operator to formatters, add nicer syntax for where in, where between, where is null
2014-05-09 14:42:29 -04:00
Tim Griesser
7f4cc4e287
code consistency
2014-04-27 19:38:18 -04:00
Tim Griesser
2f6a42dd5e
event emitters everywhere, standard 'query' event
2014-04-27 19:35:36 -04:00
Tim Griesser
3711de9be8
Don't deprecate toString, it's actually useful
2014-04-22 12:47:27 -04:00
Tim Griesser
c1ee0f5708
columnInfo, adapted code from @johanneslumpe in #190
2014-04-21 23:08:59 -04:00
Tim Griesser
a101ed5bba
cleaning up the package.json's a bit
2014-04-21 20:00:39 -04:00
Tim Griesser
c324b04d30
adding some benches between 0.5 and now, huge gains seen
2014-04-21 19:56:01 -04:00
Tim Griesser
9272d0ba4c
more testing for #162
2014-04-21 09:50:30 -04:00
Tim Griesser
c3bf4e455b
deprecate .havingRaw
2014-04-21 09:33:24 -04:00
Tim Griesser
4b42dc62f8
deprecate .whereRaw
2014-04-21 08:24:23 -04:00
Tim Griesser
c6dac39cb7
minor code cleanup
2014-04-16 10:41:16 -04:00
Tim Griesser
17c41f1b20
renaming utils to helpers, helper to utils
2014-04-16 04:29:20 -04:00
Tim Griesser
f27c0e60fa
merging refactor branch
2014-04-16 03:49:25 -04:00
Tim Griesser
6c76cc5cf0
adding jshint, cleaning unused variables
2014-04-16 03:22:47 -04:00
Tim Griesser
1e3fd57e16
updating tests for a few recent pr's
2014-04-16 02:59:27 -04:00
Tim Griesser
db2f9e7f08
merge with master
2014-04-16 02:50:19 -04:00
Tim Griesser
0de9513a78
all tests green
2014-04-16 01:23:50 -04:00
Tim Griesser
4dee91551a
all unit tests passing
2014-04-15 13:10:32 -04:00
Tim Griesser
a62ca4f7ee
schema tests passing, some of the builder tests passing
2014-04-15 11:43:47 -04:00
Tim Griesser
9be8b41efa
streams and things
2014-04-09 10:11:41 -04:00
Tim Griesser
dfdc426751
Majorly refactoring every piece of the library, WIP
2014-04-08 16:25:57 -04:00
Tim Griesser
c06d787fd7
a bit of work on the query compiler pieces
2014-03-18 15:38:35 -04:00
Tim Griesser
eeeab07c42
reworking where values are parametereized/escaped
2014-03-14 16:56:55 -04:00
Tim Griesser
76dfc1348b
fix issue with null bindings, change around the query compiler
2014-02-23 15:38:53 -05:00