2646 Commits

Author SHA1 Message Date
Tolterix
5614c18624
Timestamp UTC Standardization for Migrations (#4245)
Co-authored-by: Igor Savin <iselwin@gmail.com>
2021-02-15 19:27:41 +02:00
Richard Simko
489934655f
Fix for ES Module detection using npm@7 (#4295) (#4296) 2021-02-15 19:10:45 +02:00
Nicola Krumschmidt
c43fd7269e
Throw error if the array passed to insert is empty (#4289) 2021-02-15 19:03:48 +02:00
dependabot[bot]
b20a31fe5d
Bump typescript from 4.1.4 to 4.1.5 (#4287)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.4...v4.1.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-11 11:51:57 +02:00
dependabot[bot]
f190ab3488
Bump dtslint from 4.0.6 to 4.0.7 (#4288)
Bumps [dtslint](https://github.com/Microsoft/dtslint) from 4.0.6 to 4.0.7.
- [Release notes](https://github.com/Microsoft/dtslint/releases)
- [Commits](https://github.com/Microsoft/dtslint/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-11 11:51:24 +02:00
dependabot[bot]
a70456582b
Bump typescript from 4.1.3 to 4.1.4 (#4286)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.1.3...v4.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-10 10:44:51 +02:00
Matt
a4b6db85a9
Added merge strategy to allow selecting columns to upsert. (#4252)
Co-authored-by: Matt Goodson <matt.goodson.business@gmail.com>
2021-02-09 10:04:43 +02:00
Igor Savin
0cd29727c1 Update documentation 2021-02-08 17:34:58 +02:00
Tyler Watson
b530eacd61
mssql: add all mssql options to Knex.ConnectionConfig (#4281)
Co-authored-by: Igor Savin <iselwin@gmail.com>
2021-02-08 16:57:27 +02:00
Igor Savin
511ea2be0f
Querybuilder cleanup (#4282) 2021-02-08 16:54:00 +02:00
Igor Savin
b0d8d831dd
Restore hotfix from #4128 (#4283) 2021-02-08 15:55:16 +02:00
Igor Savin
230845d3c2
Make "first" and "pluck" mutually exclusive (#4280) 2021-02-08 13:45:13 +02:00
Igor Savin
032903171c
Cleanup package.json after node-mssql dependency removal (#4279) 2021-02-08 11:20:30 +02:00
Tyler Watson
389b6686b5
mssql: column: json to nvarchar(max) (#4278) 2021-02-08 10:54:51 +02:00
Tyler Watson
c860b89184
WIP: Replace MSSQL dialect with Tedious.js implementation (#2857)
Co-authored-by: Tyler Watson <tyler@rapidplatform.com.au>
Co-authored-by: Igor Savin <iselwin@gmail.com>
2021-02-08 08:46:35 +02:00
Nicola Krumschmidt
1ec7a664ea
Recreate indices when altering a table in SQLite (#4277) 2021-02-05 16:35:30 +02:00
Igor Savin
9c390036db
Move "parameter" out of formatter (#4275) 2021-02-04 15:54:26 +02:00
Igor Savin
2040bd11a4
Move more logic over from formatter (#4273) 2021-02-03 21:17:20 +02:00
Nicola Krumschmidt
edf994d7f7
Simplify reinsert logic when altering a table in SQLite (#4272) 2021-02-03 20:49:42 +02:00
Ihor Sakailiuk
09e9fa4193
Fix issue with schema usage with FROM clause contain QueryBuilder, function or Raw (#4268) 2021-02-03 19:16:00 +02:00
George Petrov
57184acd63
Primary keys improvements (#4266) 2021-02-03 14:47:32 +02:00
Igor Savin
d89c36ae80
Move more code out of formatter (#4270) 2021-02-03 01:13:16 +02:00
Igor Savin
deaf1870ac
Update dependencies (#4269) 2021-02-03 01:12:55 +02:00
Ihor Sakailiuk
dbcc8a3228
Fix issue with .withSchema usage with joins on a subquery (#4267) 2021-02-03 00:23:50 +02:00
Pavan Bellamkonda
a8df831cf6
Add typedefinitions for havingNotIn (#4265) 2021-02-02 22:07:31 +02:00
maximelkin
b9fb5992b5
Migrate to classes (#4253) 2021-01-31 12:40:13 +02:00
martinmacko47
50be910113
Allow optimizer hints (#4243) 2021-01-28 01:57:25 +02:00
Igor Savin
5dcdf70066
Clean up destroy logic (#4248) 2021-01-21 20:25:06 +02:00
Igor Savin
80def448e9 Remove webpack 2021-01-17 23:50:41 +02:00
Igor Savin
9e0bb88e37
Update commander (#4240) 2021-01-17 20:28:39 +02:00
Igor Savin
12d407c249
Add CodeQL 2021-01-17 20:12:01 +02:00
Igor Savin
ad55c4a076 Add dependabot 2021-01-17 20:04:39 +02:00
Igor Savin
3f1eb961d9 Add knex-postgis to ecosystem 2021-01-17 15:07:09 +02:00
Igor Savin
1d3731d2da Add casbin-knex-adapter into Ecosystem 2021-01-16 20:51:01 +02:00
Ziyaddin Sadigov
e44b2a28bf
Colorize code snippets in readme files (#4234) 2021-01-16 17:23:29 +02:00
Morgan Zolob
92907e80e2
Add check to only create native enum once (#3658)
Co-authored-by: Morgan Zolob <morgan.zolob@ingrooves.com>
2021-01-16 16:16:00 +02:00
Igor Savin
c074ec7b9d
Add test for mysql port resolution (#4232) 2021-01-15 04:31:57 +02:00
Gabriel Aumala
79401f7fc8
Allow 'match' operator (#3569) 2021-01-13 18:58:23 +02:00
bittersweet shimmer
629e1d2423
Fix SQLite foreign on delete when altering a table (#4225) 2021-01-13 00:07:07 +02:00
Igor Savin
405b639c0c
Clean up querybuilder (#4222) 2021-01-11 00:38:15 +02:00
Igor Savin
b111771117
Clean up querybuilder (#4220) 2021-01-09 17:59:53 +02:00
Igor Savin
a889a09060
Extract even more formatter stuff into client (#4219) 2021-01-09 17:40:30 +02:00
Igor Savin
cd6479bf0b
More formatter cleanup (#4218) 2021-01-07 23:34:46 +02:00
Igor Savin
0bef361ffd
Reduce amount of parameters needed (#4217) 2021-01-07 22:44:03 +02:00
Igor Savin
d78c65921f
More formatter extraction (#4215) 2021-01-07 17:48:14 +02:00
Igor Savin
067a1a0326
Extract more of the formatter logic (#4214) 2021-01-07 17:31:56 +02:00
Igor Savin
a9773b79a3
Extract static methods outside of a formatter (#4213) 2021-01-07 02:04:10 +02:00
Igor Savin
9e8f079ef5 Improve documentation 2021-01-07 01:37:53 +02:00
Igor Savin
0b2a2ca4d1
Extract static method _num out of class. Use super-methods (#4212) 2021-01-06 23:21:10 +02:00
Igor Savin
bf287be13a
Add integration test for specifictype (#4211) 2021-01-06 21:50:13 +02:00