import

command
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

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);

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL