Skip to content

Remove insertedId method from database #1

@gregserrao

Description

@gregserrao

The insertedId is using for MySql Database do retrieve the id after a insert using the mysql_insert_id function.

For the Postgres Database I just added a RETURNING to retrieve the id and then return that in insert function.

To fix it I have to put mysql_insert_id inside the insert funcion so all insert call will return the inserted id.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions