comparison flys-artifacts/src/main/resources/datacage-sql/org-postgresql-driver.properties @ 1004:0e8c03b69627

Datacage: completed backend listener stuff. flys-artifacts/trunk@2444 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 01 Aug 2011 20:35:43 +0000
parents c58da6dd15ed
children 1917f32701dc
comparison
equal deleted inserted replaced
1003:c58da6dd15ed 1004:0e8c03b69627
18 facet.id.nextval = SELECT NEXTVAL('FACETS_ID_SEQ') 18 facet.id.nextval = SELECT NEXTVAL('FACETS_ID_SEQ')
19 insert.facet = INSERT INTO facets (id, out_id, name, num, state, description) VALUES (?, ?, ?, ?, ?, ?) 19 insert.facet = INSERT INTO facets (id, out_id, name, num, state, description) VALUES (?, ?, ?, ?, ?, ?)
20 20
21 update.collection.name = UPDATE collections SET name = ? WHERE gid = ?::uuid 21 update.collection.name = UPDATE collections SET name = ? WHERE gid = ?::uuid
22 delete.artifact.from.collection = DELETE FROM collection_items WHERE collection_id = ? AND artifact_id = ? 22 delete.artifact.from.collection = DELETE FROM collection_items WHERE collection_id = ? AND artifact_id = ?
23 delete.collection.by.gid = DELETE FROM collections WHERE gid = ?::uuid
24 delete.user.by.gid = DELETE FROM user WHERE gid = ?::uuid
25 delete.artifact.data.by.artifact.id = DELETE FROM artifact_data WHERE artifact_id = ?
26 delete.outs.by.artifact.id = DELETE FROM outs WHERE artifact_id = ?
27 delete.facets.by.artifact.id = DELETE FROM facets WHERE out_id IN (SELECT id FROM outs WHERE artifact_id = ?)

http://dive4elements.wald.intevation.org