1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-29 22:27:42 +02:00
Files
OpenIntegrations/docs/en/cli/mysql/AddRecords/bash.txt

8 lines
1.0 KiB
Plaintext
Raw Normal View History

2025-10-07 15:34:22 +00:00
# JSON data can also be passed as a path to a .json file
2025-04-06 16:33:41 +03:00
oint mysql AddRecords \
2025-10-07 15:34:22 +00:00
--table "testtable" \
2025-10-15 11:06:08 +00:00
--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.5'},'double_field':{'FLOAT':'100.512123'},'date_field':{'DATE':'10/15/2025 09:22:48'},'time_field':{'TIME':'10/15/2025 09:22:48'},'datetime_field':{'DATE':'10/15/2025 09:22:48'},'timestamp_field':{'DATE':'10/15/2025 09:22:48'},'mediumblob_field':{'BYTES':'/tmp/bgbzut5a.myf'},'set_field':{'TEXT':'one'}}]" \
2025-10-07 15:34:22 +00:00
--trn true \
2025-04-06 16:33:41 +03:00
--dbc "mysql://bayselonarrend:***@127.0.0.1:3306/" \
2025-10-07 15:34:22 +00:00
--tls "{'use_tls':true,'accept_invalid_certs':true}"