You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-25 22:12:29 +02:00
8 lines
1.1 KiB
Plaintext
Vendored
8 lines
1.1 KiB
Plaintext
Vendored
# JSON data can also be passed as a path to a .json file
|
|
|
|
oint mysql AddRecords \
|
|
--table "testtable" \
|
|
--rows "[{'char_field':{'TEXT':'AAAAA'},'varchar_field':{'TEXT':'Some varchar'},'tinytext_field':{'TEXT':'Some tiny text'},'text_field':{'TEXT':'Some text'},'mediumtext_field':{'TEXT':'Some medium text'},'longtext_field':{'TEXT':'Some looooooong text'},'tinyint_field':{'INT':127},'smallint_field':{'INT':-32767},'mediumint_field':{'INT':8388607},'int_field':{'INT':-2147483647},'uint_field':{'UINT':4294967295},'bigint_field':{'INT':9223372036854775807},'float_field':{'FLOAT':100.50},'double_field':{'FLOAT':100.512123},'date_field':{'DATE':'2025-06-18T20:16:20.6233178Z'},'time_field':{'TIME':'2025-06-18T20:16:20.6233178Z'},'datetime_field':{'DATE':'2025-06-18T20:16:20.6233178Z'},'timestamp_field':{'DATE':'2025-06-18T20:16:20.6233178Z'},'mediumblob_field':{'BYTES':'https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/picture.jpg'},'set_field':{'TEXT':'one'}}]" \
|
|
--trn true \
|
|
--dbc "mysql://bayselonarrend:***@127.0.0.1:3306/" \
|
|
--tls "{'use_tls':true,'accept_invalid_certs':true}" |