SELECT * FROM iasql_install('<modules>');
INSERT INTO dynamo_table (table_name, table_class, throughput, primary_key)
VALUES (
'<prefix>test',
'STANDARD',
'"PAY_PER_REQUEST"',
'{"key": "S", "val": "S"}'
);
SELECT *
FROM dynamo_table
WHERE table_name = '<prefix>test';
UPDATE dynamo_table
SET primary_key = '{"key": "S", "val": "N"}'
WHERE table_name = '<prefix>test';
DELETE FROM dynamo_table
WHERE table_name = '<prefix>test';
INSERT INTO dynamo_table (table_name, table_class, throughput, primary_key, region)
VALUES (
'<prefix>regiontest',
'STANDARD',
'"PAY_PER_REQUEST"',
'{"key": "S", "val": "S"}',
'us-east-1'
);
SELECT *
FROM dynamo_table
WHERE table_name = '<prefix>regiontest';
UPDATE dynamo_table
SET region = '<region>'
WHERE table_name = '<prefix>regiontest';
SELECT *
FROM dynamo_table
WHERE table_name = '<prefix>regiontest';