Skip to content

Loading…

SQL RETURNING behaviour on empty result #247

Closed
arjan opened this Issue · 1 comment

2 participants

@arjan
Zotonic member

z_db:q("SELECT * FROM rsc WHERE 1=2 RETURNING id", Context)

Result: 0

Expected result: []

@mworrell
Zotonic member

Closing, as merges were already done for this,

@mworrell mworrell closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.