2646 Commits

Author SHA1 Message Date
Nick Whiteley
f969d5236a MSSQL columnInfo() had hard coded schema name (#1585)
* MSSQL columnInfo() had hard coded schema name

* Change let to const for columnInfo bindings array
2016-07-26 10:00:57 +02:00
Mikael Lepistö
54563dc8e0 release 0.11.9 0.11.9 2016-07-22 02:34:35 +03:00
Mikael Lepistö
94b016d145 Updated changelog for 0.11.9 2016-07-22 02:29:10 +03:00
Mikael Lepistö
b74cd69e90 Reverted knex client breaking change 2016-07-22 02:22:45 +03:00
Mikael Lepistö
ea06a429f6 release 0.11.8 0.11.8 2016-07-21 23:51:33 +03:00
Mikael Lepistö
51ea89bf60 Updated changelog for 0.11.8 2016-07-21 23:47:24 +03:00
statyan
6ecd8f3793 Fixed knex #1577 (#1578)
* Fixed knex #1577
Aslo corrected tests for primarykey

* Fix for installing from github

* Fix for installing from github

* Fix for installing from github
2016-07-20 11:22:17 +10:00
Trevor Smith
b1a95b181e Allow named bindings to be escaped. (#1576)
* Allow named bindings to be escaped.

* Use a literal for the named parameter binding regex.
2016-07-19 20:42:49 +03:00
Dmitry Vdovin
289f17e21b Fix incorrect escaping of backslashes in SqlString.escape (#1545) 2016-07-02 00:45:50 +03:00
Rhys van der Waerden
3ea653497b Merge pull request #1532 from timwis/patch-1
Docs: Set "foreign" method name to lowercase
2016-06-27 12:45:45 +10:00
Tim Wisniewski
c27f98eb36 Docs: Set "foreign" method name to lowercase
Assuming this was just a typo.
2016-06-26 12:18:40 -04:00
Alexandre Tiertant
53d089bffb add node-oracledb support (#990)
* add node-oracledb support

* move file in src directory

* remove unused var

* correct pool release
correct date error

* correct bugs

* add some test

* correct a test error

* correct time zone error in schema tests

* correct time zone error in schema tests

* use inheritance to remove duplicated code

* use inherit in formatter to remove dupplicated code

* remove unused code

* remove unused require

* add blob insert support

* add queryCompiler to dialect prototype

* export queryCompiler

* fix bugs

* Correct tests

* handle returning

* clean code

* clean code

* Fix returning

* Multiple insert with blob

* Add SELECT BLOB support

* Finalise update

* Fix test error

* Fix insert error without returning

* Add transaction and code cleaning

* build

* Fix pool ping error

* Add missing rejecter

* build

* Fix error in delete

* Fix transaction rollback error throwing

* Fix typo in commit

* Fix rollback rejecter

* Remove BLOB tests

* remove lib file

* fixed oracledb linter errors

* Add .completed to transaction acquireConnection()
2016-06-20 18:03:52 +03:00
Rhys van der Waerden
d1137953be release 0.11.7 0.11.7 2016-06-19 16:33:27 +10:00
Rhys van der Waerden
ec7349ec4e Prepare for 0.11.7 release 2016-06-19 16:31:28 +10:00
Rhys van der Waerden
fab1d07730 Merge pull request #1516 from SuperSpyTX/patch-1
Fix dependency issue with 'node-uuid'
2016-06-19 16:28:06 +10:00
Joe
82f4f1fd0d Fix dependency issue with 'node-uuid'
It appears that in Issue #1510, unique IDs were added to queries.  The dependency that was used was a development dependency, which isn't installed as a default.  This change makes sure the dependency is installed by default.
2016-06-19 02:02:27 -04:00
Rhys van der Waerden
b21156d920 Prevent error in gh-pages script
If gh-pages branch was out of date this should prevent an error when pushing to origin.
2016-06-18 15:21:17 +10:00
Rhys van der Waerden
fcb0430e3e Restore current version link in docs 2016-06-18 15:20:32 +10:00
Rhys van der Waerden
95c666568c release 0.11.6 0.11.6 2016-06-18 15:12:21 +10:00
Rhys van der Waerden
11c4999e1d Prepare for 0.11.6 2016-06-18 15:01:25 +10:00
wubzz
acbc8a111a Merge pull request #1510 from funnylookinhat/query-uuid
Add query-specific uuid to enable finite metrics.
2016-06-17 20:14:18 +02:00
David Overcash
6193701c8d Typo. 2016-06-17 11:04:35 -07:00
David Overcash
9ec6984cc3 Fix a test that wasn't able to compare with new __knexQueryUid field. 2016-06-17 10:57:03 -07:00
David Overcash
f5137f2d67 Remove failing test to verify theory. 2016-06-17 10:42:40 -07:00
David Overcash
994bef1709 Somehow got a bad file committed. 2016-06-17 10:24:44 -07:00
David Overcash
a8cbbfc193 Add tests for __knexQueryUid and an additional test for the query event. 2016-06-17 09:53:54 -07:00
David Overcash
9fe1a06ae1 Better name. 2016-06-17 09:33:03 -07:00
David Overcash
4ab0a916ba Change field name to something more appropriate. 2016-06-17 09:32:07 -07:00
David Overcash
04ddaeaa4a Add uuid based on already used import. 2016-06-17 09:19:20 -07:00
David Overcash
b3e9f29126 Add UUID to query/compiler.js:toSQL 2016-06-17 08:31:42 -07:00
Mikael Lepistö
9c7a632871 Merge pull request #1498 from elhigu/test-timeout-variable
Made test timeout to be configurable by setting KNEX_TEST_TIMEOUT env…
2016-06-16 14:02:16 +03:00
Mikael Lepistö
db4d0009d9 Updated documentation according to review comments. 2016-06-16 12:33:48 +03:00
Mikael Lepistö
99ed8f13b6 Merge pull request #1504 from blainesch/patch-1
Fix code blocks.
2016-06-16 09:59:34 +03:00
Blaine Schmeisser
3e7c4342c8 Fix code blocks. 2016-06-15 19:24:59 -07:00
Mikael Lepistö
cd28114067 Made test timeout to be configurable by setting KNEX_TEST_TIMEOUT environment variable. 2016-06-14 19:02:43 +03:00
Rhys van der Waerden
6c157a1e3d Merge pull request #1494 from tgriesser/feature/run-eslint-in-ci
Lint before tests in CI
2016-06-14 19:56:16 +10:00
Rhys van der Waerden
a95e39609f Lint before tests in CI 2016-06-14 19:50:51 +10:00
Rhys van der Waerden
f1c1aecd94 Merge pull request #1493 from dannyfritz/seed-stub
🐛 Update seed stubs to run serially.
2016-06-14 15:14:28 +10:00
Danny Fritz
62ec9dcb0c 🐛 Promise.all needs an array. 2016-06-13 20:51:56 -06:00
Danny Fritz
41a54b8545 switch to Promise.all from Promise.join 2016-06-13 20:45:32 -06:00
Danny Fritz
625d3d5bd7 🐛 Update seed stubs to run serially. 2016-06-13 20:33:37 -06:00
Rhys van der Waerden
d3557a0e36 Merge pull request #1473 from robscott/fix/passwordless_database_url
Adding support for specifying a DATABASE_URL without a password
2016-06-13 22:28:08 +10:00
Rhys van der Waerden
a85371f224 Merge pull request #1464 from statyan/master
Fixes for mssql dialect columnInfo and binary fields
2016-06-13 22:23:51 +10:00
Mikael Lepistö
8043e8318e Merge pull request #1489 from agdevbridge/patch-1
Fixes warning "a promise was created but was not returned" in more places
2016-06-13 13:00:53 +03:00
Algirdas Gr
bc5b4f0527 Fixes warning "a promise was created but was not returned" in more places
@teh-botol noticed more places where warning is displayed.
2016-06-13 12:41:09 +03:00
wubzz
e3ea261cd1 Merge pull request #1486 from jacobinary/oraclefix
Fix invalid SQL in Oracle dialect ping function
2016-06-10 23:59:06 +02:00
Jacob Hoschar
eeae6c4e9f Fix invalid SQL in Oracle dialect ping function 2016-06-10 17:35:35 -04:00
Mikael Lepistö
e437d8dd11 Merge pull request #1472 from alarner/mssql-docs
Add mssql to the list of supported database libraries
2016-06-11 00:26:57 +03:00
Rob Scott
6c7809caae Adding support for specifying a DATABASE_URL without a password 2016-06-06 22:19:24 -04:00
Aaron Larner
ca05230e14 Add mssql to the list of supported database libraries 2016-06-06 10:47:18 -05:00