node-postgres/test
Nikhil Benesch 6ced524390 allow type-coercion overrides for custom objects
Attempt to call a `toPostgres` method on objects passed as query values
before converting them to JSON. This allows custom types to convert
themselves to the appropriate PostgreSQL literal.

This strategy is fully backwards-compatible and uses the same pattern as
the `toJSON` override.
2014-03-30 20:39:56 -04:00
..
integration Add domain support to connection pool 2014-03-15 16:41:33 -05:00
native Move string escaping tests to proper locations. 2013-07-15 09:13:48 -05:00
unit allow type-coercion overrides for custom objects 2014-03-30 20:39:56 -04:00
buffer-list.js fix for strang \0 buffer encoding issue in node v0.3.0 2010-11-01 22:11:40 -04:00
cli.js down is used but isn't set 2013-08-31 12:23:17 +03:00
test-buffers.js unit test for portal suspended 2010-11-14 17:44:36 -06:00
test-helper.js utils-tests: add unit tests for prepareValue 2014-03-30 19:03:24 -04:00