SwiftclassWeatherCore

class WeatherCore.GeocodeStore

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

Members 11

  1. varstatic var location: TeaDB.Database.Location { get set }
  2. varstatic var preferredCacheSize: TeaDB.Database.CacheSize { get }
  3. deinitdeinit
  4. fieldlet database: TeaDB.Database+0x10
  5. fieldlet geocodedLocations: TeaDB.Table<WeatherCore.GeocodedLocationEntity>+0x18
  6. funcdeleteAllLocations(satisfying: (WeatherCore.Location) -> Bool) -> ()
  7. funcdeleteLocation(for: String) -> ()
  8. funcqueryLocation(for: String) -> WeatherCore.Location?
  9. funcqueryLocationAndTimeZoneIdentifier(for: String) -> (WeatherCore.Location, String)?
  10. funcsaveLocation(_: WeatherCore.Location, for: String) -> ()
  11. initWeatherCore.GeocodeStore.__allocating_init(database: TeaDB.Database) throws -> WeatherCore.GeocodeStore
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
}