1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2026-05-04 20:54:02 +02:00
Files
OpenIntegrations/docs/en/cli/postgres/EnsureRecords/bash.txt
T
Vitaly the Alpaca (bot) 8f36f532f9 Test data update (Jenkins)
2026-02-18 06:58:34 +00:00

8 lines
467 B
Plaintext
Vendored

# JSON data can also be passed as a path to a .json file
oint postgres EnsureRecords \
--table "test_merge" \
--rows "[{'id':{'INT':'1'},'name':{'TEXT':'Vitaly Updated'},'age':{'INT':'25'},'salary':{'REAL':'1500.5'}},{'id':{'INT':'3'},'name':{'TEXT':'Anton'},'age':{'INT':'30'},'salary':{'REAL':'3000'}}]" \
--unique "['id']" \
--db "postgresql://bayselonarrend:12we3456!2154@127.0.0.1:5433/testbase1" \
--tls "{'use_tls':true,'accept_invalid_certs':true}"