Skip to content

Pragma key_not_null is not documented #11

@roe85

Description

@roe85

I was porting from ODB 2.4.0 to 2.5.0 where a found a schema change in a QHash<QString, QString>, because nullability has been changed to be the default. Was made aware of the pragma value_not_null which also works for normal containers and I tried out key_not_null by chance - and it worked.

But it is not documented anywhere, I just found it used in the source code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions