Classes

The following classes are available globally.

  • An instance of the Filter class is used to filter query results All filters are automatically converted into SQLite statements when querying the database.

    To make filtering easier, and backwards compatibility, it is possible to instantiate a filter object as a dictionary literal

    Example:

    Return any objects with the name ‘Ghost’

    let filter: Filter = ["name": "Ghost"]

    let filter = Filter.equal("name", value: "Ghost")

    See more

    Declaration

    Swift

    public class Filter: DictionaryLiteralConvertible
  • A class wrapping an SQLite3 database abstracting the creation of tables, insertion, update, and retrieval

    See more

    Declaration

    Swift

    public class SwiftyDB