Tim Griesser
e3ef628156
Beginning to use =>
2015-05-09 14:07:58 -04:00
Tim Griesser
521a6f9e97
Remove use strict, assumed in ES6
2015-05-09 14:01:19 -04:00
Tim Griesser
7e884cb325
Babel src -> lib, remove gulp
2015-05-09 13:58:18 -04:00
Tim Griesser
6d93ba2c21
#805 - mysql2 doesn't include errno, sidorares/node-mysql2#168
2015-05-01 11:53:55 -04:00
Tim Griesser
12e6ada1a3
Fix for #805 , warn for non-existent savepoints
...
In MySQL if a savepoint is missing, it means something
else (most likely DDL) triggered an implicit commit. In this
case rather than erroring, let's give a warning message
so it's possible to use the same codepath as a DB where
this actually works.
2015-05-01 11:26:29 -04:00
Tim Griesser
e179634600
Switch to shell script for release, other tidying of config/directories
2015-04-29 19:13:50 -04:00
Tim Griesser
c40b1339aa
Update process for web script build
2015-04-29 17:11:52 -04:00
Tim Griesser
ff76297506
Normalize connection config, fix #789
2015-04-29 15:14:41 -04:00
Tim Griesser
2e47b9d2e8
Nicer query builder interface
2015-04-28 09:14:13 -04:00
Tim Griesser
ca158836a0
Cast buffer to string, #796
2015-04-28 08:14:22 -04:00
Tim Griesser
7b17cc404a
Oracle test suite up to date
2015-04-27 20:22:05 -04:00
Tim Griesser
f735dcb9c8
Raw identifiers and named parameters
...
Adds ?? for interpolating identifiers in raw
statements. Also adds raw(sql, obj) for
named :key syntax. Alternatively, 🔑
(trailing colon) may be used to specify an
identifier as a parameter.
2015-04-27 15:58:48 -04:00
Tim Griesser
04a0aa6935
Removing explicit build directory, building lib in docs instead
2015-04-27 15:48:23 -04:00
Tim Griesser
ebcc22176f
Make websql transaction api similar to others, jshint cleanup
2015-04-24 12:44:01 -04:00
Tim Griesser
3e47fafbe8
Cleaning up build process, WebSQL dialect
2015-04-24 12:19:33 -04:00
Tim Griesser
36ced91ed5
Testing transactions, beginning to use tape, adding query to error message
2015-04-24 10:10:34 -04:00
Tim Griesser
46e318d6da
Cleaning up transactions, passing options arg to pipe
2015-04-23 14:51:33 -04:00
Tim Griesser
c8232d11d3
Merge with master, cleanup on mysql2/maria
2015-04-22 16:19:59 -04:00
Tim Griesser
f662bca81d
Merge pull request #588 from shutterstock/fix/mysql2-can-use-other-port
...
Allow mysql2 to use a non-default port
2015-04-22 15:53:18 -04:00
Tim Griesser
e570c167c1
JSHint and formatting
2015-04-22 15:39:29 -04:00
Tim Griesser
871b50b5aa
Cleaning up WebSQL & Oracle transaction implementations
2015-04-22 15:24:29 -04:00
Tim Griesser
7dfad30ff0
browserify -> webpack
2015-04-22 14:53:31 -04:00
Tim Griesser
2bc85cb7a5
Pool should be 1 for sqlite3 unless WAL is enabled
2015-04-22 11:45:12 -04:00
Tim Griesser
f9aab9dc76
Major internal refactor
...
Beefed up transaction implementation, still needs tests
and cleanup of nested transaction queues.
Left todo:
- Fix commented out tests
- Fix oracle driver's transactions
2015-04-22 10:34:14 -04:00
Tim Griesser
eee4e9c005
Fixing the overall class dependency approach, lots of internal cleanup, WIP
2015-04-19 16:31:52 -04:00
Tim Griesser
27cd9f12c5
Cleanup pool implementation, preparing things for new release
2015-04-17 15:00:08 -04:00
Calvin Metcalf
c00ff3d814
Allow t.binary to specify a length for MySQL
...
Closes #774
2015-04-16 15:39:02 -04:00
Ben Drucker
7cdda834ef
Remove FoundationDB
...
Reverts c199761c597c93136a6d38bc4ecf26a693560322 and #641
Foundation was acquired and shut down immediately
2015-03-24 17:48:14 -07:00
Vincent Schoettke
5cd47fab98
Fixed returning bug with oracle
...
Fixes non working returning() with oracle introduced with #580 (strong-oracle support)
2015-03-16 10:04:49 +01:00
Tim Griesser
e9782a8932
Merge branch 'master' of github.com:tgriesser/knex
...
* 'master' of github.com:tgriesser/knex:
Allow debugging to be disabled for a query
fix float for oracle dialect. fixes #735
2015-03-13 01:33:36 -04:00
Tim Griesser
13995d6936
Fix #737 , proper escaping for identifiers
2015-03-13 01:17:32 -04:00
Vincent Schoettke
505b019eaf
fix float for oracle dialect. fixes #735
2015-03-12 20:34:50 +01:00
Kris Reeves
84aef3bd4c
Handle postgres connection "error" and "end" events
...
Closes #659
2015-02-23 09:35:57 -05:00
Ben Drucker
d771610460
Merge pull request #474 from myndzi/fix-sqlite3-rename-column
...
Fix sqlite3 rename column
2015-02-20 10:22:11 -05:00
Kris Reeves
dc5f32ad20
Override pool.release for oracle too. Uncertain if client.close is async, so pretending it's sync.
2015-02-19 12:13:42 -05:00
Kris Reeves
617c36cfc7
New tests showed a flaw in mysql code, fix it
2015-02-19 12:08:02 -05:00
Kris Reeves
851493ae04
Better column rename and delete logic
2015-02-19 12:08:01 -05:00
Kris Reeves
12ce5d74f1
Fix reference
2015-02-19 11:53:57 -05:00
Kris Reeves
dff5a1409a
Use Pool2 instead of Generic-pool-redux
2015-02-19 11:50:43 -05:00
Ben Drucker
d6dc4d2dee
Don't warn for SQLite with create if not exists
...
Closes #689
2015-02-13 15:00:32 -05:00
Nathan Williams
2d6d2f28f7
Adapter for FoundationDB SQL Layer
2015-02-04 14:56:41 -05:00
Alexey Aleshkov
41e747f664
Fix SQLite dropColumn doesn't work for last column ( fixes #544 )
2015-01-18 23:53:17 +03:00
Ben Drucker
52e2403c29
Merge pull request #586 from tgriesser/limit-0
...
Properly handle limit 0
2014-12-22 21:44:24 +01:00
Tim Griesser
5e0bcb1ea9
Merge pull request #580 from llambda/master
...
Support strong-oracle driver.
2014-12-18 23:52:57 -05:00
Tim Griesser
3e3cfcbaa4
Fix #597 , show tables like
2014-12-18 23:41:04 -05:00
Calvin Metcalf
33e9469fe9
rm console.error
2014-12-15 12:15:10 -05:00
Elliot Foster
a812bdf0b2
Allow mysql2 to use non-default port
2014-12-02 16:10:44 -08:00
Ben Drucker
27810950ed
Properly handle limit 0
2014-11-30 19:47:50 -05:00
llambda
9560058d15
Support strong-oracle
2014-11-26 17:57:24 -06:00
Ville Lahdenvuo
2961bb1ed4
Add POSIX operator support for Postgres
...
Closes #562 , Closes #561
2014-11-14 12:21:36 -05:00