aboutsummaryrefslogtreecommitdiff
path: root/setup/default.xml
diff options
context:
space:
mode:
Diffstat (limited to 'setup/default.xml')
-rw-r--r--setup/default.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup/default.xml b/setup/default.xml
index 7df352c4d..5c6f8fe90 100644
--- a/setup/default.xml
+++ b/setup/default.xml
@@ -171,6 +171,10 @@
SELECT * FROM positions WHERE deviceId = :deviceId AND fixTime BETWEEN :from AND :to ORDER BY fixTime
</entry>
+ <entry key='database.selectPosition'>
+ SELECT * FROM positions WHERE id = :id
+ </entry>
+
<entry key='database.insertPosition'>
INSERT INTO positions (deviceId, protocol, serverTime, deviceTime, fixTime, valid, latitude, longitude, altitude, speed, course, address, attributes)
VALUES (:deviceId, :protocol, :now, :deviceTime, :fixTime, :valid, :latitude, :longitude, :altitude, :speed, :course, :address, :attributes)