Skip to content

id not returned when inserting a record (postgres) #18

Closed
@Gamaroff

Description

@Gamaroff

When inserting a record into Postgres the primary key (serial) id is not returned.

Activity

preslavrachev

preslavrachev commented on Jan 10, 2013

@preslavrachev

I was going to point that out, too. I've currently solved this with some code that I personally aded to the save method

dresende

dresende commented on Jan 10, 2013

@dresende
Owner

Could you post the code to see what's going wrong?

dresende

dresende commented on Jan 10, 2013

@dresende
Owner

This is not just postgres, I'm seeing this on mysql and I think I found the bug.

Gamaroff

Gamaroff commented on Jan 11, 2013

@Gamaroff
CollaboratorAuthor

Nice!

added a commit that references this issue on Sep 19, 2017

Merge pull request #18 from locomote/feature/add-deprecation-message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      id not returned when inserting a record (postgres) · Issue #18 · dresende/node-orm2