aboutsummaryrefslogtreecommitdiffstats
path: root/src/nodejs
diff options
context:
space:
mode:
authorbooo <borgers@mi.fu-berlin.de>2011-02-14 17:27:26 +0100
committerbooo <borgers@mi.fu-berlin.de>2011-02-14 17:27:26 +0100
commit9cedd178c75318488500219096499b0bbef702df (patch)
tree8540feed1cbcf836eee50e01e2221c2035ce4289 /src/nodejs
parent380016154f5049460f5221fc1eec655d3e868622 (diff)
downloadosm-xapi-9cedd178c75318488500219096499b0bbef702df.tar.gz
osm-xapi-9cedd178c75318488500219096499b0bbef702df.tar.xz
osm-xapi-9cedd178c75318488500219096499b0bbef702df.zip
reflect changes on node-postgres branch
Diffstat (limited to 'src/nodejs')
-rw-r--r--src/nodejs/main.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nodejs/main.js b/src/nodejs/main.js
index faa7e12..5006dbc 100644
--- a/src/nodejs/main.js
+++ b/src/nodejs/main.js
@@ -171,9 +171,10 @@ function buildMainQuery(reqJso){
query += ';'
return {
- text:query,
- values:replacements,
- name: query
+ text : query,
+ values : replacements,
+ name : query,
+ binary : true
};
}