 import Fluent
 
-class SQLiteDriver: Fluent.Driver {
+public class SQLiteDriver: Fluent.Driver {
 
 	let database = SQLite()
 
-	func fetchOne(table table: String, filters: [Filter]) -> [String: String]? {
+	public func fetchOne(table table: String, filters: [Filter]) -> [String: String]? {
 		let sql = SQL(operation: .SELECT, table: table)
 		sql.filters = filters
 		sql.limit = 1

		return nil
	}

	func fetch(table table: String, filters: [Filter]) -> [[String: String]] {
		let sql = SQL(operation: .SELECT, table: table)
		sql.filters = filters


		}
	}

	public func upsert(table table: String, items: [[String: String]]) {
		//check if object exists
	}
 
	public func exists(table table: String, filters: [Filter]) -> Bool {
		print("exists \(filters.count) filters on \(table)")

		return false
	}

	public func count(table table: String, filters: [Filter]) -> Int {
		print("count \(filters.count) filters on \(table)")

		return 0
