tps/functions/srce_edit.pgsql

16 lines
217 B
Plaintext
Raw Normal View History

2018-02-08 17:40:23 -05:00
CREATE OR REPLACE FUNCTION tps.srce_set(_name text, _defn jsonb) RETURNS jsonb
AS $f$
BEGIN
/*
1. determine if insert or update
2. if update, determine if conflicts exists
3. do merge
*/
END;
$f$
LANGUAGE plpgsql