Skip to content

Conversation

@galalaly
Copy link

Can be used like so

var NoEscape = require("sql-query").NoEscape;
var location = new NoEscape('ST_GeomFromText("POINT(30.062629699707 31.249670028687)")');
query = app.db.driver.execQuery(
'INSERT INTO users(location) VALUES(?)',
[ location ],
function( err, data ) {
// do something
}
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants