MCPcopy Index your code
hub / github.com/dresende/node-orm2 / valueToProperty

Function valueToProperty

test/integration/drivers/postgres_spec.js:199–201  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

197 describe("numbers", function () {
198 describe("floats", function () {
199 function valueToProperty (value) {
200 return driver.valueToProperty(value, { type: 'number' });
201 }
202
203 it("should pass on empty string", function () {
204 should.strictEqual(valueToProperty(''), '');

Callers 1

postgres_spec.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected