Skip to content

observe() on table with String key? #4

@siuying

Description

@siuying

The observe interface takes a Int id:

public func observe<T : Sqlable>(change: Sqlable.SqliteDatabase.Change? = default, on: T.Type, id: Int? = default, doThis: (id: Int) throws -> Void) -> String

Problem is I have to use String key for my model (some of the integer is bigger than 32bit and will not work on older devices).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions