Documentation ¶
Overview ¶
Tool to import pairs of files from an input sqlite database to another database.
Usage: import <path-to-sqlite.db> <destination-DSN>
Where DSN can be one of: sqlite:///path/to/db.db postgresql://[user[:password]@][netloc][:port][,...][/dbname]
The origin database is assumed to have the following table: CREATE TABLE files (
blob_id_a TEXT, repository_id_a TEXT, commit_hash_a TEXT, path_a TEXT, content_a TEXT, uast_a BLOB, blob_id_b TEXT, repository_id_b TEXT, commit_hash_b TEXT, path_b TEXT, content_b TEXT, uast_b BLOB, score DOUBLE PRECISION);
Click to show internal directories.
Click to hide internal directories.