You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The second call should return the same result as the first one.
Additional context
If the behaviour is normal, how should I get the id of the newly inserted / existing row? Typically I would run this code and redirect the user to the chat screen with id returned in data. The idea is to not make an extra call to the database.
The text was updated successfully, but these errors were encountered:
Bug report
Describe the bug
Hi Team, when doing an upsert on an existing record, the select returns an empty array.
To Reproduce
This is my code
Running this the first time returns data
Running it second time with the same values for listing_id and user_id returns
Expected behavior
The second call should return the same result as the first one.
Additional context
If the behaviour is normal, how should I get the id of the newly inserted / existing row? Typically I would run this code and redirect the user to the chat screen with id returned in data. The idea is to not make an extra call to the database.
The text was updated successfully, but these errors were encountered: