Commit Graph

37 Commits

Author SHA1 Message Date
brianc
08eddd26e2 make type coercion a part of the api 2011-03-03 18:05:29 +00:00
brianc
a5fce8eb7b query events for prepared statements are handled by client 2011-02-04 19:30:30 -06:00
brianc
99093b34c8 query events handled by client in simple query scenario 2011-02-04 19:15:57 -06:00
brianc
daa370a610 move some query listener delegation to client 2011-02-04 19:03:23 -06:00
brianc
426f30a962 started making listeners non-closure based 2011-02-04 18:51:34 -06:00
Brian Carlson
2029248dbe edge case millisecond parsing fixed 2011-01-23 23:58:03 -06:00
Brian Carlson
75b369f25a minor readability 2011-01-23 21:48:52 -06:00
Brian Carlson
fb4314fa00 refactorings, tweaks, and minor fixes to query 2011-01-23 19:01:28 -06:00
Brian Carlson
79c5faf547 first pass at array type conversion 2011-01-21 16:53:24 -06:00
brianc
56ba2567ce result of query contains metadata about query execution 2011-01-19 00:35:32 -06:00
Brian Carlson
31b5f82ad0 initial implementation of providing command execution results 2011-01-18 23:03:24 -06:00
Brian Carlson
1aee4786a0 added result object 2011-01-18 22:39:07 -06:00
Brian Carlson
227d1a8749 query callback fired only once regardless of number of commandComplete messages recieved from backend 2011-01-18 22:23:03 -06:00
Darwin
7fcfbd8bb0 . 2011-01-08 16:41:48 +01:00
Darwin
a268711616 fix for bug, it has to do with how postgresql presents milisec.. it excludes the traling zeros. 2011-01-08 16:36:10 +01:00
Julian Birch
721cf56eb3 Rows are now associative arrays rather than straight arrays. 2010-12-19 09:41:11 +00:00
Brian Carlson
55f84924f2 query errors passed to a query callback function are considered handled 2010-12-16 23:50:36 -06:00
Brian Carlson
0e03b875af remove references to unused 'row' object 2010-12-13 17:24:05 -06:00
Darwin
0249d60604 fixed bug related to parseInt bug, leading 0 is interpreated in a fucked upp way 2010-12-11 12:03:29 +01:00
Brian Carlson
f0291d30d7 nested query and streamlined api working 2010-12-02 17:47:54 -06:00
Brian Carlson
0bde640bab overloaded "simple" query api to provide callback enabled prepared statement 2010-11-15 00:42:38 -06:00
Brian Carlson
91aac6d350 initial callback api integration underway 2010-11-15 00:10:21 -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
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
95ee9e645c query now returns named records in rows 2010-11-04 00:21:29 -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
d2e3dfb647 split query out from client file and did minor refactorings 2010-11-03 00:27:11 -05:00
brianc
37bbb21bce collapsed query into client 2010-10-23 13:58:15 -05:00
brianc
ec5f1b8831 failing date parsing 2010-10-18 23:35:51 -05:00
brianc
ae40a13daf time/timez parsing 2010-10-18 23:19:17 -05:00
brianc
a05ad762d2 added oid as integer type 2010-10-18 22:42:48 -05:00
brianc
a69d9fecaa parse floats 2010-10-18 22:17:58 -05:00
brianc
bf87006bc3 removed log message 2010-10-18 22:14:51 -05:00
brianc
967ec0f6bb parsing ints 2010-10-18 22:12:26 -05:00
brianc
7ba0317878 adding dependency requirement 2010-10-10 23:01:30 -05:00
brianc
5c6f95b427 moved items to their own file 2010-10-10 22:37:30 -05:00