Brian C
0ed174e3ac
Merge pull request #84 from yc662/jshintFixup
Address jsHint complaints
12 years ago
Brian C
41d3d8bc24
Merge pull request #86 from yc662/jshintLocal
Add jshint to the devDependencies, update makefile to use local jshint
12 years ago
Brian C
bc167a487e
Merge pull request #85 from yc662/fixCommentSpacing
fix spacing in comments
12 years ago
Di Wu
758c7392c2
Add jshint to the devDependencies, update makefile to use local jshint
12 years ago
Di Wu
e6ea2016fe
fix spacing in comments
12 years ago
Di Wu
0dea29827b
address all jshint issues
12 years ago
Brian Carlson
c7559da608
Bump version
12 years ago
Brian Carlson
fcd21053b8
Fix toQuery() on subquery column
12 years ago
Brian Carlson
6e5f6778e9
Bump version
12 years ago
Brian C
90b41ae8bf
Merge pull request #81 from thadclay/master
Add support for SUM and AVG aggregate functions.
12 years ago
Brian C
1b66fc3c8a
Merge pull request #80 from brianc/features/table_engine_and_charset
Engine and charset support for mysql
12 years ago
thadclay
f5467bedf8
Add support for SUM and AVG aggregate functions
12 years ago
Sascha Depold
2da1b22cc8
another test for charset and engine
12 years ago
Sascha Depold
79a3cc2504
charset support
12 years ago
Sascha Depold
155eb2bafb
allow definition of mysql engine
12 years ago
Sascha Depold
b18e440ea7
Merge branch 'master' of github.com:brianc/node-sql
12 years ago
Sascha Depold
c5035158f6
Merge pull request #79 from brianc/features/add_column_without_throw
Features/add column without throw
12 years ago
Sascha Depold
17529c4ac6
documentation
12 years ago
Sascha Depold
9b1f54233b
allow silent add column
12 years ago
Sascha Depold
2d5b8f8ea0
Merge branch 'master' of github.com:brianc/node-sql
12 years ago
Brian C
b81992d66d
Update README.md
12 years ago
Brian C
c60b296ab1
Update README closes #70
12 years ago
bmc
6fb2e94b14
Bump version
12 years ago
Brian C
f415888eed
Merge pull request #76 from tmont/custom-column-property-name
Custom column property name
12 years ago
Brian C
58f8a5e116
Merge pull request #78 from brianc/features/min
support for min and max queries
12 years ago
Sascha Depold
402b759f58
added support for min and max queries
12 years ago
Sascha Depold
0fc65df910
Merge branch 'master' of github.com:brianc/node-sql
12 years ago
tmont
8fb83185c2
added special 'property' field to columns
When defining a column, you can specify a "property" field
that will allow a more programmer-friendly name to be used
when selecting fields.
e.g.
var user = sql.define({
name: 'user',
columns: [{ state: 'state_or_province', property: 'state' }]
});
user.select(user.state);
12 years ago
tmont
c1a1532b65
ignore .idea directory
12 years ago
bmc
c29ca3a0c6
Bump version
12 years ago
bmc
c0d813ee72
Update readme example to be valid
12 years ago
Brian C
54cdc08b1b
Merge pull request #73 from tmont/master
Updated README with instructions on how to use the sql-generate module
12 years ago
Brian C
954286a4d5
Merge pull request #74 from andreypopp/star-select-default
Table.prototype.select() creates select with a * if no arguments is provided
12 years ago
Brian C
96678f583f
Merge pull request #75 from brianc/features/indexes
Features/indexes
12 years ago
Sascha Depold
8646cd9071
Revert "support ifExists and ifNotExists for index#create / index#drop"
This reverts commit f71207edb9
.
12 years ago
Sascha Depold
f71207edb9
support ifExists and ifNotExists for index#create / index#drop
12 years ago
Sascha Depold
eb8afaf88c
fixed syntax of index creation
12 years ago
Sascha Depold
f894d445bd
allow multiple calls of on for index creation
12 years ago
Sascha Depold
7d4b4a7cec
added support for dropping indexes
12 years ago
Sascha Depold
b9942f77af
support for fulltext and spatial indexes
12 years ago
Andrey Popp
39a3e86f30
Table::select() creates *-select by default
Test case provided.
12 years ago
tmont
0655f3ca75
added section on using sql in conjunection with the node-sql-generate command line tool
12 years ago
Sascha Depold
f09e93118a
make sure that the generated index name is correctly sorted
12 years ago
Sascha Depold
0093f98edb
throw an error if no columns have been passed to index creation
12 years ago
Sascha Depold
e652985af2
added test for index creation without custom name
12 years ago
Sascha Depold
2d80c3941a
test for sqlite
12 years ago
Sascha Depold
60a52dc91e
creating indexes is now based on chaining
12 years ago
Sascha Depold
d61bdaebed
create on indexes
12 years ago
Sascha Depold
0bd0ee7207
added methods for reading indexes
12 years ago
Sascha Depold
cf2e556b4e
Merge branch 'master' of github.com:brianc/node-sql
12 years ago