sqlite2mongo-0.1.0 is not a library.
Import sqlite database to mongodb.
Usage
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
--mixed-case Convert field name to mixed 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 --mixed-case
Differences to sqlitemongo
- New ObjectId is generated for _id field.
- DateTime, Boolean field types are reserved.
- Supports dry-run and convert field name to mixed case.