0001 public protocol Driver{ 0002 func fetchOne
Database.swift:3 public static var driver: Driver = PrintDriver()MemoryDriver.swift:1 class MemoryDriver: Driver {PrintDriver.swift:1 class PrintDriver: Driver {(table table: String, filters: [Filter]) -> [String: String]? 0003 func fetch
Query.swift:8 if let serialized = Database.driver.fetchOne(table: self.table, filters: self.filters) {(table table: String, filters: [Filter]) -> [[String: String]] 0004 func delete
Query.swift:19 let serializeds = Database.driver.fetch(table: self.table, filters: self.filters)(table table: String, filters: [Filter]) 0005 func update
Query.swift:49 Database.driver.delete(table: self.table, filters: self.filters)(table table: String, filters: [Filter], data: [String: String]) 0006 func insert
Query.swift:29 Database.driver.update(table: self.table, filters: self.filters, data: data)(table table: String, items: [[String: String]]) 0007 func upsert
Query.swift:33 Database.driver.insert(table: self.table, items: [data])Query.swift:45 Database.driver.insert(table: self.table, items: data)(table table: String, items: [[String: String]]) 0008 func exists
Query.swift:37 Database.driver.upsert(table: self.table, items: data)Query.swift:41 Database.driver.upsert(table: self.table, items: [data])(table table: String, filters: [Filter]) -> Bool 0009 func count
Query.swift:53 return Database.driver.exists(table: self.table, filters: self.filters)(table table: String, filters: [Filter]) -> Int 0010 }
Query.swift:57 return Database.driver.count(table: self.table, filters: self.filters)