SwiftclassWeatherCore
class WeatherCore.GeocodeStore
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolWeatherCore.GeocodeStoreType
Members 11
- var
static var location: TeaDB.Database.Location { get set } - var
static var preferredCacheSize: TeaDB.Database.CacheSize { get } - deinit
deinit - field
let database: TeaDB.Database+0x10 - field
let geocodedLocations: TeaDB.Table<WeatherCore.GeocodedLocationEntity>+0x18 - func
deleteAllLocations(satisfying: (WeatherCore.Location) -> Bool) -> () - func
deleteLocation(for: String) -> () - func
queryLocation(for: String) -> WeatherCore.Location? - func
queryLocationAndTimeZoneIdentifier(for: String) -> (WeatherCore.Location, String)? - func
saveLocation(_: WeatherCore.Location, for: String) -> () - init
WeatherCore.GeocodeStore.__allocating_init(database: TeaDB.Database) throws -> WeatherCore.GeocodeStore
Header
class GeocodeStore { let database: TeaDB.Database let geocodedLocations: TeaDB.Table<WeatherCore.GeocodedLocationEntity> init(database: TeaDB.Database) throws final func saveLocation(_: WeatherCore.Location, for: Swift.String) final func queryLocation(for: Swift.String) -> WeatherCore.Location? final func deleteLocation(for: Swift.String) final func deleteAllLocations(satisfying: (_: WeatherCore.Location) -> Swift.Bool) final func queryLocationAndTimeZoneIdentifier(for: Swift.String) -> (WeatherCore.Location, Swift.String)? static var location: TeaDB.Database.Location { get set } static var preferredCacheSize: TeaDB.Database.CacheSize { get } deinit }