Skip to content

inserting new records when id is set as serial #7

@nohkumado

Description

@nohkumado

Hello
i found that you can do a Db.persons.insertRecords([onePerson], cn: db); there's just a problem with my setting, id is serial, so if i insert a new record, i do not set the id and let postgres handle this for me, but for easyorm id is int and not int? so i can't specify a new record, how am i supposed to do it?

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