gStore/main/insert_test.cpp

24 lines
384 B
C++
Raw Normal View History

2016-03-12 01:52:18 +08:00
/*
* insert_test.cpp
*
* Created on: 2014-12-03
* Author: Caesar11
*/
#include<iostream>
2016-03-12 01:52:18 +08:00
#include "../Database/Database.h"
using namespace std;
int main(int argc, char * argv[])
{
string db_folder = string(argv[1]);
string insert_rdf_file = string(argv[2]);
Database _db(db_folder);
_db.insert(insert_rdf_file);
return 0;
}