Crates.io | sqlite2mongo |
lib.rs | sqlite2mongo |
version | 0.3.0 |
source | src |
created_at | 2020-12-13 11:04:26.875746 |
updated_at | 2022-03-03 03:50:55.236226 |
description | Import sqlite database to mongodb. |
homepage | |
repository | https://github.com/J-F-Liu/sqlite2mongo.git |
max_upload_size | |
id | 322378 |
size | 62,245 |
Import sqlite database to mongodb.
USAGE:
sqlite2mongo.exe [FLAGS] <sqlite-path> <mongodb-uri> <mongo-database>
FLAGS:
--dry-run Test reading sqlite data, do not create mongodb collection
-h, --help Prints help information
--lower-camel Convert field name to lower camel case
-V, --version Prints version information
ARGS:
<sqlite-path> Sqlite data file path
<mongodb-uri> Mongodb URI
<mongo-database> Database name to save the imported data
Example:
sqlite2mongo sqlite://D:/Database/mydb.db?mode=ro mongodb://localhost:27017 mydb --lower-camel