Brian Carlson
|
1fe89bc6e3
|
Bump version
|
12 years ago |
Brian Carlson
|
31ef80aeb9
|
Use mocha instead of weird 1/2 of tap for tests
I kept having to scroll back several hundered lines when a test
would fail and the output was ridiculously verbose.
|
12 years ago |
Brian Carlson
|
a093b4c07c
|
Add 'toQuery' to the prototype of all nodes
This allows doing something like this:
`user.join(photos).toQuery().text`
to build just a part of a query.
|
12 years ago |
Brian Carlson
|
d8027b0a5c
|
Allow non-query nodes to be turned into strings
|
12 years ago |
bmc
|
a0cd41846f
|
Bump version
|
12 years ago |
Brian C
|
e82d65140c
|
Merge pull request #52 from chaoran/master
Added support for renaming table
|
12 years ago |
Chaoran Yang
|
bcf08b79c7
|
Add rename clause for alter table
|
12 years ago |
Brian C
|
dbc89c9b4b
|
Update README.md
|
12 years ago |
Brian C
|
5e614ebbaf
|
Update README.md
|
12 years ago |
bmc
|
c7e2af4513
|
version bump
|
12 years ago |
Casey Foster
|
270d7fb925
|
LIMIT and OFFSET can accept a subQuery
|
12 years ago |
Eric Sessoms
|
c32b00b99b
|
added more tests of clause ordering
|
12 years ago |
Eric Sessoms
|
680fd909f6
|
minor cleanup, mostly related to function vs block scoping
|
12 years ago |
brianc
|
3f5fd9098a
|
remove another console.log statement
|
12 years ago |
brianc
|
8b15905609
|
remove console.log statement
|
12 years ago |
brianc
|
78f3221e30
|
allow SELECT/FROM/WHERE in any order
|
12 years ago |
brianc
|
980207ebee
|
version bump
|
12 years ago |
brianc
|
60961c2d09
|
fix table.getColumn
|
12 years ago |
brianc
|
1e240ed8ed
|
version bump
|
12 years ago |
Brian C
|
98f32243c1
|
Merge pull request #49 from brianc/object-literals
Object literals
|
12 years ago |
brianc
|
aeaf00996c
|
cleanup node inheritance
|
12 years ago |
brianc
|
7306e0e911
|
use sliced for argument slicing
|
12 years ago |
brianc
|
1f1f5cb25d
|
allow select to take array of columns
|
12 years ago |
brianc
|
ff928df3a3
|
make generated node constructors slightly less weird
|
12 years ago |
brianc
|
8d897cd9c0
|
cleanup where node
|
12 years ago |
brianc
|
6a469fd511
|
allow shortcut where clauses in 'and' and 'or'
|
12 years ago |
brianc
|
e8c449d0f9
|
add tests for 'returning' and make it accept array of columns
|
12 years ago |
brianc
|
2b884c3618
|
remove copy/pasta looking code
|
12 years ago |
brianc
|
b76e8bd15a
|
allow order clause to accept array of columns
|
12 years ago |
brianc
|
7647dc3911
|
cleanup trailing whitespace
|
12 years ago |
brianc
|
779fcc6e46
|
allow group to accept array of columns
|
12 years ago |
brianc
|
9a77ca0d0f
|
make delete take where clause directly
|
12 years ago |
Brian C
|
88bf960515
|
Merge pull request #48 from caseywebdev/join
Fix subQuery when used as a binary right
|
12 years ago |
Casey Foster
|
7c44b1bc7a
|
Fix subQuery when used as a binary right
|
12 years ago |
brianc
|
3cbe540865
|
version bump
|
12 years ago |
brianc
|
7711228c66
|
allow any arbitrary properties to be set on columns
|
12 years ago |
brianc
|
cd44a6816d
|
version bump
|
12 years ago |
Brian C
|
26998b1b90
|
Merge pull request #47 from HughePaul/master
Allow plain text expressions in where(), and() and or()
|
12 years ago |
Paul Winkler
|
b7c961a66e
|
Merge branch 'arbitrary_where'
|
12 years ago |
brianc
|
d5faf6da43
|
bump version
|
12 years ago |
Brian C
|
70fc869949
|
Merge pull request #45 from HughePaul/master
Add sqlite support, make subqueries be real subqueries
|
12 years ago |
Paul Winkler
|
b3fa4cc7d7
|
Merge branch 'master' of github.com:brianc/node-sql into add_sqlite
Conflicts:
test/dialects/order-tests.js
|
12 years ago |
Brian C
|
d7fbeb6d0a
|
Merge pull request #44 from caseywebdev/master
Add DEFAULT VALUES support for PG INSERT
|
12 years ago |
Casey Foster
|
600c7f4d8b
|
Merge branch 'default-values'
|
12 years ago |
Casey Foster
|
4fffaad6d6
|
Fix ORDER BY syntax error in PG
|
12 years ago |
Paul Winkler
|
e201e00dd5
|
Allow arbitrary SQL text as TextNode in where / and / or clauses and surround by brackets
|
12 years ago |
Paul Winkler
|
cdf51d9dcd
|
change test case to give a varied sub post request with and without AS
|
12 years ago |
Paul Winkler
|
7784a9eaf3
|
SQLite cannot add more than one column per alter table statement. Call sqlite tests.
|
12 years ago |
Paul Winkler
|
250f5ecb50
|
sqlite dialect and all sqlite tests. subqueries can now have their columns selected as tables
|
12 years ago |
Casey Foster
|
70252ff886
|
Add DEFAULT VALUES support for PG INSERT
|
12 years ago |