 		self.database.execute(sql.query)
 	}
 
-	func insert(table table: String, items: [[String: String]]) {
+	public func insert(table table: String, items: [[String: String]]) {
 		for item in items {
 			let sql = SQL(operation: .INSERT, table: table)
 			sql.data = item

		}
	}

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

		return false
	}

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

		return 0

		return data
	}

	public func delete(table table: String, filters: [Filter]) {
		let sql = SQL(operation: .DELETE, table: table)
		sql.filters = filters
		
		self.database.execute(sql.query)
	}

	public func update(table table: String, filters: [Filter], data: [String: String]) {
		let sql = SQL(operation: .UPDATE, table: table)
		sql.filters = filters
		sql.data = data
