【文件属性】:
文件名称:dbcrossbar:在数据库,CSV文件和云存储之间复制表格数据
文件大小:434KB
文件格式:ZIP
更新时间:2021-05-13 12:15:55
Rust
dbcrossbar :在数据库,CSV文件和云存储之间复制表格数据
dbcrossbar在不同的数据库和存储格式之间移动大型数据集。
一些例子:
# Copy from a CSV file to a PostgreSQL table.
dbcrossbar cp \
--if-exists=overwrite \
--schema=postgres-sql:my_table.sql \
csv:my_table.csv \
' postgres://postgres@127.0.0.1:5432/postgres#my_table '
# Upsert from a PostgreSQL table to BigQuery.
dbcrossbar cp \
--if-exists=upsert-on:id \
--temporary=