The Wayback Machine - https://web.archive.org/web/20200704183325/https://github.com/topics/ozzo
Skip to content
#

ozzo

Here are 4 public repositories matching this topic...

mheffner
mheffner commented Mar 17, 2020

When using the Query.One method to populate a single row from the database (like below), it would seem to me like the implication is that it will only select a single row by adding a LIMIT 1 to the query. However, it appears to run the full query without a limit and drops all but the first row. This can be quite expensive if you weren't expecting it.

Should Query.One() add a LIMIT 1? I

Improve this page

Add a description, image, and links to the ozzo topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ozzo topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.