implement OrientDB::insert function.