Tim Griesser
d7738e772a
Fixing comment & foreign key tests, full suite passing
2014-05-29 17:31:09 -04:00
Tim Griesser
94e896fd41
docs work, test cleanup, adding fix for #287
2014-05-29 13:40:34 -04:00
Tim Griesser
f7ad182e68
working on a lot of tooling, migration pieces
2014-05-28 22:29:34 -04:00
Blake Embrey
d0d4549c21
Drop indexes correctly, closes #276
2014-05-20 18:02:21 +10: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
da289620b2
pass the connection __cid along when running the query for helpful debugging
2014-05-08 18:31:25 -04:00
Tim Griesser
98765c38c7
adding tests for change in #265
2014-05-08 18:04:55 -04:00
Tim Griesser
5b9336a284
sqlstring now pulled from node-mysql, pq queries escaped
2014-05-06 18:15:16 -04:00
Tim Griesser
c329acbb48
don't worry about failing stream test in 0.8
2014-05-06 16:45:16 -04:00
Tim Griesser
19b2b20e8b
We're streaming
2014-05-05 21:54:08 -04:00
Tim Griesser
5708a73023
add nullable and defaultValue fields to columnInfo
2014-05-04 23:54:03 -04:00
Tim Griesser
63b0246db0
don't worry about the bindings for the columnInfo test
2014-04-27 18:53:25 -04:00
Johannes Lumpe
838b53a2d8
Made migration tests pass
2014-04-27 12:00:51 +03:00
Tim Griesser
84f0541efa
minor spacing
2014-04-22 09:38:56 -04:00
Tim Griesser
e74f43cfe5
adding test for #211
2014-04-21 23:24:57 -04:00
Tim Griesser
c1ee0f5708
columnInfo, adapted code from @johanneslumpe in #190
2014-04-21 23:08:59 -04:00
Tim Griesser
9c21af25c9
add explicit test case from #191
2014-04-21 22:15:06 -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
5bac6747a5
prepInsert is now working.
2014-04-16 11:38:03 -04:00
Tim Griesser
4f4b71ee2f
update dependencies, remove jshint for now
2014-04-16 10:43:16 -04:00
Tim Griesser
e32de06a36
add test case for #166
2014-04-16 03:55:44 -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
Blake Embrey
53594b9674
Add support for returning in delete query
...
* Adds compilation of returning in delete
* Simplify response handling
* Adds support for passing in returning columns to delete method (keeps behaviour inline with select and update)
* Adds test output checking for delete queries
2014-04-13 17:51:57 +10:00
Blake Embrey
1e72beb96a
Reverse expect for console output to be correct
2014-04-13 17:43:03 +10:00
Tim Griesser
dfdc426751
Majorly refactoring every piece of the library, WIP
2014-04-08 16:25:57 -04:00
Tim Griesser
cb9f849393
fixes #228 , regression for array bindings
2014-04-02 21:28:56 -04:00
Tim Griesser
aa47c24568
additional tests & data for #219
2014-03-26 19:15:46 -04:00
Tim Griesser
1c403a5a40
Merge pull request #219 from ruifortes/master
...
Added support for multi-column "where in" clauses. ex:"(col1,col2) in ((1,1),(1,2),(2,1),(2,2))
2014-03-26 19:05:36 -04:00
Rui Fortes
b7bbb49364
Added tests for multi-column "whereIn"
2014-03-25 18:56:07 +00:00
Tim Griesser
ef4e5d52e8
Further changes & test for #222
2014-03-25 11:13:43 -04:00
Daryl Lau
8511171b00
more comprehensive case insensitive operator test
2014-03-22 13:18:16 -07:00
Daryl Lau
bf4e39718e
allow case insensitive WHERE operators
2014-03-22 12:39:48 -07:00
Tim Griesser
90282058d8
Merge pull request #207 from kobalicekp/master
...
[Improvement] Replaced push.apply() calls with custom concat() function.
2014-03-20 09:06:23 -04:00
kobalicekp
b3aa0fb8dc
Added integration tests for incrementing/decrementing negative numbers
2014-03-20 13:01:42 +01:00
Tim Griesser
716e3c3019
add .exec to the knex promise shim
2014-03-19 11:54:18 -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
Tim Griesser
55f7f28761
making stateless querying opt-in, not default
2014-02-22 17:06:33 -05:00
Tim Griesser
ede184a5be
add test for #162
2014-02-21 20:47:46 -05:00
Tim Griesser
8bddaea5e2
adding several tests from recent modifications
2014-02-21 20:38:14 -05:00