Mercurial > dive4elements > river
comparison artifacts/src/main/resources/datacage-sql/org-h2-driver.properties @ 6660:8a1afe974fb0
issue1415: Define update statement for artifacts state.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 25 Jul 2013 12:05:22 +0200 |
parents | 5aa05a7a34b7 |
children | 5077fc1ace1c |
comparison
equal
deleted
inserted
replaced
6659:ed61ffc0687e | 6660:8a1afe974fb0 |
---|---|
15 insert.artifact.data = INSERT INTO artifact_data (id, artifact_id, kind, k, v) VALUES (?, ?, ?, ?, ?) | 15 insert.artifact.data = INSERT INTO artifact_data (id, artifact_id, kind, k, v) VALUES (?, ?, ?, ?, ?) |
16 out.id.nextval = SELECT NEXTVAL('OUTS_ID_SEQ') | 16 out.id.nextval = SELECT NEXTVAL('OUTS_ID_SEQ') |
17 insert.out = INSERT INTO outs (id, artifact_id, name, description, out_type) VALUES (?, ?, ?, ?, ?) | 17 insert.out = INSERT INTO outs (id, artifact_id, name, description, out_type) VALUES (?, ?, ?, ?, ?) |
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 update.artifact.state = UPDATE artifacts SET state = ? WHERE gid = ? | |
20 | 21 |
21 update.collection.name = UPDATE collections SET name = ? WHERE gid = ? | 22 update.collection.name = UPDATE collections SET name = ? WHERE gid = ? |
22 delete.artifact.from.collection = DELETE FROM collection_items WHERE collection_id = ? AND artifact_id = ? | 23 delete.artifact.from.collection = DELETE FROM collection_items WHERE collection_id = ? AND artifact_id = ? |
23 delete.collection.by.gid = DELETE FROM collections WHERE gid = ? | 24 delete.collection.by.gid = DELETE FROM collections WHERE gid = ? |
24 delete.user.by.gid = DELETE FROM user WHERE gid = ? | 25 delete.user.by.gid = DELETE FROM user WHERE gid = ? |