Commit Graph

194 Commits

Author SHA1 Message Date
Brian Carlson
f8096cbe55 initial work on streamlined client interface 2010-11-14 23:04:41 -06:00
Brian Carlson
78c4ca832c test for row count > result count in cursor row limit 2010-11-14 17:56:18 -06:00
Brian Carlson
ebf5c5c4ed support for limiting number of rows returned at a time from a cursor 2010-11-14 17:53:49 -06:00
Brian Carlson
e61ec5dfed unit test for portal suspended 2010-11-14 17:44:36 -06:00
Brian Carlson
6585f85d03 query object now emits query related errors, client object no longer
emits query related errors
2010-11-14 16:50:38 -06:00
brianc
d77fd0ee65 ability to init connection with url instead of config object 2010-11-10 21:45:39 -06:00
brianc
aa975af83d don't output parsed cli commands when running test 2010-11-10 20:52:44 -06:00
brianc
95ee9e645c query now returns named records in rows 2010-11-04 00:21:29 -05:00
brianc
b9387dfda5 added more robust multiple query result tests 2010-11-03 23:16:58 -05:00
brianc
dbc84f69f0 changed integration test to depend on row array methods for
future-proofing any accidental api change
2010-11-03 23:08:14 -05:00
brianc
2efe451ee6 added Row object instead of returning raw dataRow object w/ coerced types 2010-11-03 23:06:07 -05:00
brianc
8ec671a67c added test & fix for missing 'sys' require in query.js 2010-11-03 16:47:26 -05:00
brianc
1b9ccf97e9 reduced number of flush messages during prepared statement, 2x performance 2010-11-02 03:29:11 -05:00
brianc
aa53908e88 updating tests to use fewer connections and up timeout for slower machines 2010-11-02 18:15:41 -05:00
brianc
381598d3c0 date type coercion works in both directions 2010-11-02 00:50:42 -05:00
brianc
6841178ca2 modified tests to correctly check for adjusted utc values 2010-11-02 00:23:39 -05:00
brianc
0c777fafec fix for strang \0 buffer encoding issue in node v0.3.0 2010-11-01 22:11:40 -04:00
brianc
2ce2277bcf updated type coercion test execution order to not fail due to slow query perf timeouts 2010-11-01 20:38:22 -04:00
brianc
07010389ff basic (ugly) date type coercion tests 2010-11-01 00:27:06 -05:00
brianc
074779b5ff initial work on dates 2010-11-01 00:27:05 -05:00
brianc
0d2d6b5107 Moved buffer list to test directory and replaced w/ slightly cleaner
"writer" for use in the library code.  BufferList was always supposed
to be a test helper and the api is trash
2010-10-31 18:21:37 -05:00
brianc
75da13a4b9 removed id from connection messages (simplify API) 2010-10-31 17:30:35 -05:00
brianc
6eea7b3c4f added unit test for connection propagating stream errors 2010-10-31 14:49:49 -05:00
brianc
d2079478da change name of assert.raises to assert.emits 2010-10-31 14:43:10 -05:00
brianc
405fbbec12 nulls supported in all currently supported type coercions 2010-10-30 21:10:26 -05:00
brianc
a928453d69 integration tests for parsing types, failing on nulls 2010-10-30 21:10:26 -05:00
brianc
df2533e9a3 adding begining of better testing of types 2010-10-30 21:10:26 -05:00
bmc
01161c2d80 todo note about possibly handling commandComplete message tags 2010-10-29 21:50:13 -04:00
bmc
cafded964e support for 'emptyQuery' command 2010-10-29 21:33:53 -04:00
bmc
adcadd5810 rename to correct typo in filename 2010-10-29 21:16:37 -04:00
bmc
e57e1809a3 no-data test passing 2010-10-29 21:16:05 -04:00
bmc
8108736b21 added more complicated simple query & used 'drain' event to disconnect 2010-10-29 21:10:49 -04:00
bmc
d0de1fc890 unrolled test nesting to better demonstrate async nature 2010-10-29 21:05:35 -04:00
bmc
577f48f824 added 'drain' event to client which fires after all pending queries
are done
2010-10-29 20:48:31 -04:00
brianc
d38a7f5ed7 added tests to support noData & extra query scenarios but currently
failing...ignoring for now
2010-10-29 00:46:08 -05:00
brianc
f63659cbc5 parsing noData message 2010-10-29 00:02:08 -05:00
brianc
da8026df9d prepared statements moved forward a good deal 2010-10-28 19:09:40 -05:00
brianc
0787df4f74 remove detailed logging from integration test 2010-10-28 01:04:55 -05:00
brianc
104727fd87 simple prepared statements working! 2010-10-28 00:50:45 -05:00
brianc
35d2b2e4ad removed renamed file (gooooo git!!) 2010-10-28 00:48:15 -05:00
brianc
f6f15322d7 ignore failing unit test for prepared statements until integration
tests are in place (integration tests helping me drive out the api in
a more natural way than unit testing on such a fine grained level)
2010-10-28 00:48:02 -05:00
brianc
c848a5ad92 added support for describe command 2010-10-28 00:27:08 -05:00
brianc
239a12fa1c file renames 2010-10-27 23:51:08 -05:00
brianc
2c6f85beb9 failing unit tests for extended query protocol (bound commands) 2010-10-27 16:50:26 -05:00
brianc
05ba85ae79 fix to pass correct 'mock' data in rowDescription event to now more
demanding client
2010-10-27 00:56:47 -05:00
brianc
f04ad8e64c boolean coercion 2010-10-27 00:31:34 -05:00
brianc
5a2ccd657c refactor of type parsing tests 2010-10-27 00:28:23 -05:00
brianc
86d5296fb0 parsing floats 2010-10-27 00:15:58 -05:00
brianc
368724d4f4 integer datatype coercion in result set 2010-10-26 23:57:36 -05:00
brianc
cb460e7aa2 moved test client helper into helper file 2010-10-26 21:47:18 -05:00