Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Little issue in first_or_create method #848

Closed
LordDeveloper opened this issue Apr 7, 2023 · 3 comments
Closed

Little issue in first_or_create method #848

LordDeveloper opened this issue Apr 7, 2023 · 3 comments
Labels
bug An existing feature is not working as intended

Comments

@LordDeveloper
Copy link
Contributor

Code:

user = User.first_or_create(
    {'id': sender_id}
)

Error:
masoniteorm.query.QueryBuilder.QueryBuilder.create() got multiple values for keyword argument 'id_key'

@LordDeveloper LordDeveloper added the bug An existing feature is not working as intended label Apr 7, 2023
botify-framework added a commit to botify-framework/orm that referenced this issue Apr 7, 2023
@cristianomg10
Copy link

Hi everybody. Unfortunately the same is happening for the update_or_create method.

@tpow
Copy link

tpow commented Apr 10, 2023

This is the same problem as #843.

@josephmancuso
Copy link
Member

Fixed in v2.19.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An existing feature is not working as intended
Projects
None yet
Development

No branches or pull requests

4 participants