Skip to content

Compilation issue with table having "ref" named field #345

@MatthieuTexier

Description

@MatthieuTexier

Hi Roland,
One the tables I work with has a field named "ref".
Because the tables structs inherit from table_t and table_t have a member fonction called ref, I have compilation error on
db(insert_into(my_table).set(my_table.ref = something))
How would you deal with that ?
Best regards,
Matthieu

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