File: data_bag_item_insert.sql

package info (click to toggle)
goiardi 0.11.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,708 kB
  • sloc: sql: 4,994; makefile: 156; sh: 95; python: 30
file content (9 lines) | stat: -rw-r--r-- 253 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
-- Verify data_bag_item_insert

BEGIN;

SELECT goiardi.merge_data_bags('a');
SELECT goiardi.insert_dbi('a', 'a2', 'a2', (select id from goiardi.data_bags where name = 'a'), NULL);
SELECT id FROM goiardi.data_bag_items WHERE orig_name = 'a2';

ROLLBACK;