Skip to content

isAutoIncrement in WCDB.Swift #772

@wkmeow

Description

@wkmeow

The language of WCDB

e.g. Objective-C, Swift or Java

Swift

The version of WCDB

e.g. v1.0.5
WCDB.Swift

The platform of WCDB

e.g. iOS, macOS or Android
iOS

The installation of WCDB

e.g. Cocoapods, Carthage, Maven, AAR Package or Git clone

Cocoapods

What's the issue?

Post the outputs or screenshots for errors.

Explain what you want by example or code in English.

when I set var isAutoIncrement: Bool { return true } for struct model , and debugPrint the lasetInserRowId is aways Option(0), dose it only support class model?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions