Martynas Kunigėlis
05ac46f9a9
knex: allow calling .join() with a closure as the second argument ( #20434 )
...
* Allow calling .join() with a closure as the second argument that takes
the JoinClause as its first argument, not just a function w/o arguments
with the JoinClause passed as this.
* Call signature corrected per comment from @andy-ms, one of the tests
updated accordingly.
* Got rid of the this-only overload per comment from @andy-ms.
2017-10-17 13:06:34 -07:00
Leon Chen
239c74ded1
support generic-pool v3 pool config options ( #20269 )
2017-10-09 16:02:02 -07:00
Andy
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07:00
Chris Watts
e8076e1dbb
Update index.d.ts
...
Alter should actually be moved to ColumnBuilder interface
http://knexjs.org/#Schema-alter
2017-08-28 17:38:27 -07:00
Chris Watts
b3d6ba948d
Update index.d.ts
...
Add `dropTimestamps` function on `TableBuilder`
Add `alter` on `AlterTableBuilder`
http://knexjs.org/#Schema-alter
http://knexjs.org/#Schema-dropTimestamps
2017-08-25 12:33:28 -07:00
Bowden Kelly
93d659fc39
Merge pull request #19144 from slively/master
...
add seeds configuration to Knex client
2017-08-24 18:00:25 -07:00
slively
e633975df8
add seeds configuration to Knex client
2017-08-18 17:37:02 -07:00
Aditya
83f35b36e9
Knex: Fix the typings for the streaming methods
2017-08-15 13:34:23 +02:00
Ed Staub
351950a008
Add withSchema() to queryBuilder interface ( #18452 )
...
... not to be confused with the schemaBuilder withSchema method
2017-07-27 11:29:42 -07:00
Paul van Brenk
00222e6b0a
Merge pull request #17535 from blakeembrey/knex-raw
...
[knex] Allow `Raw` for index creation
2017-06-29 14:25:49 -07:00
Blake Embrey
c4089d41ba
[knex] Allow Raw for index creation
2017-06-27 12:19:30 -04:00
Jeremy Marzka
b955315655
knex: join supports object syntax when using a querybuilder
2017-06-25 09:52:29 -05:00
Andy Hanson
c15e214e5a
bluebird: Make Thenable an alias to the builtin PromiseLike.
2017-06-16 09:02:18 -07:00
Martynas Kunigėlis
c35d7a9798
Knex: added declarations and tests for clearSelect() and clearWhere(). ( #16746 )
2017-05-31 22:39:26 -07:00
Daniel Rosenwasser
21d903fa7e
Merge pull request #16606 from edvinv/master
...
[knex] Add function queryBuilder.
2017-05-22 15:32:13 -07:00
Jeremy Marzka
2f931b8761
knex: first() should accept the same parameters as select()
2017-05-22 11:52:42 -05:00
edvinv
6e46f5cb54
[knex] Add function queryBuilder.
2017-05-18 14:26:53 +02:00
Balazs Erdos
158ea650e5
Add grouped joins ( #16294 )
2017-05-03 11:53:34 -07:00
Martynas Kunigėlis
de52c9ccca
Quote from Knex source code comments: 'The transactor is a full featured knex object, with a "commit", a "rollback" and a "savepoint" function.' ( #16092 )
2017-04-28 14:21:27 -07:00
Martynas Kunigėlis
86d6ae08ba
knex: added declarations for with(), withRaw() and withWrapped() ( #15966 )
...
Add an optional extended description…
2017-04-26 14:57:43 -07:00
Sriram Thiagarajan
669b518e91
knex: added *Distinct functions ( #16094 )
...
* added knexjs *Distinct functions
These functions seem to have been added in v0.10.0 - https://github.com/tgriesser/knex/blob/620ade8c6d61a01f20e8743017a32e2f226d9e73/CHANGELOG.md#other-changes-2
* fix typo
2017-04-24 08:18:27 -07:00
Ryan Cavanaugh
0047bcf49a
Merge pull request #15667 from stoianchoo/master
...
Package knex. Fixed definitions that were giving me errors with my working code.
2017-04-17 12:51:05 -07:00
Craig Bassett
fe9c76bb27
adds mssql configuration options ( #15493 )
2017-04-17 08:04:31 -07:00
s.atanasov@everybag.de
483e80063c
Fixed definistions that were giving me errors on my working code.
...
Added test cases for the changes.
2017-04-05 14:09:55 +02:00
Andy Hanson
354cec620d
Move all packages to a types directory
2017-03-24 14:27:52 -07:00