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

Bulk Insert and Upsert don't work #36

Closed
warflash opened this issue Dec 27, 2021 · 2 comments
Closed

Bulk Insert and Upsert don't work #36

warflash opened this issue Dec 27, 2021 · 2 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@warflash
Copy link

warflash commented Dec 27, 2021

Bug Report

Describe the bug

Bulk inserts and upserts currently don't seem to work.
The column thats labeled as primary key is inserted successfully, all other columns get set to zero values.

Reproduction

Unfortunately I'm not sure how to setup the tests locally so I couldn't go and debug myself.
Though I setup a minimal example with two columns in supabase and it did not work.
Screenshot:
image

System Info

  • OS: Windows 10 Pro
  • .NET 6
  • Visual Studio 17.0.4
  • Versions: supabase: 0.2.11; postgrest: 2.0.3
@acupofjose acupofjose added the bug Something isn't working label Dec 27, 2021
@acupofjose
Copy link
Collaborator

@warflash thanks for the detailed issue! I was able to duplicate it pretty quickly and should have it resolved in [email protected]. Please let me know if you see the problem persisting after updating to the latest version!

@acupofjose acupofjose added the good first issue Good for newcomers label Dec 27, 2021
@warflash
Copy link
Author

That fixed it indeed, thanks a lot for the quick response and update, much appreciated!
I did stumble across something else while playing around, will open a new issue for that in a bit.
Thanks again for the patch :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants