forked from MTSR/mapserver
fix pq sql replacement char
This commit is contained in:
parent
f42d867d16
commit
64a6cff429
@ -11,7 +11,7 @@ where o.type = $1
|
|||||||
and o.posx >= $2 and o.posy >= $3 and o.posz >= $4
|
and o.posx >= $2 and o.posy >= $3 and o.posz >= $4
|
||||||
and o.posx <= $5 and o.posy <= $6 and o.posz <= $7
|
and o.posx <= $5 and o.posy <= $6 and o.posz <= $7
|
||||||
order by o.id
|
order by o.id
|
||||||
limit ?8
|
limit $8
|
||||||
`
|
`
|
||||||
const getMapDataWithAttributeLikePosQuery = `
|
const getMapDataWithAttributeLikePosQuery = `
|
||||||
select o.id, o.type, o.mtime,
|
select o.id, o.type, o.mtime,
|
||||||
@ -27,7 +27,7 @@ and o.type = $1
|
|||||||
and o.posx >= $2 and o.posy >= $3 and o.posz >= $4
|
and o.posx >= $2 and o.posy >= $3 and o.posz >= $4
|
||||||
and o.posx <= $5 and o.posy <= $6 and o.posz <= $7
|
and o.posx <= $5 and o.posy <= $6 and o.posz <= $7
|
||||||
order by o.id
|
order by o.id
|
||||||
limit ?10
|
limit $10
|
||||||
`
|
`
|
||||||
|
|
||||||
const removeMapDataQuery = `
|
const removeMapDataQuery = `
|
||||||
|
Loading…
Reference in New Issue
Block a user