Skip to content
This repository has been archived by the owner on Nov 23, 2022. It is now read-only.

insertInto() returns null on PostgreSQL #5

Open
knky-ru opened this issue Nov 18, 2019 · 0 comments
Open

insertInto() returns null on PostgreSQL #5

knky-ru opened this issue Nov 18, 2019 · 0 comments

Comments

@knky-ru
Copy link

knky-ru commented Nov 18, 2019

Hi.

        val id = Database.insertInto("users") {
            columns("firstName", "lastName", "email", "password")
            values(firstName, lastName, email, password)
        }.execute()

id equals to null, but data appears in DB as expected.

How to fix?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant