-
-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
What steps will reproduce the problem?
ActiveQuery::one() doesn't seem to limit records in SQL.
What is the expected result?
Queries created with ActiveQuery::one() should have a LIMIT 1 clause in the prepared SQL.
What do you get instead?
The function selects all rows from a table resulting in excess memory consumption.
Additional info
| Q | A |
|---|---|
| Yii version | 2.0.? |
| PHP version | |
| Operating system |
bethrezen, Locustv2, TheHett, Vladnev, alexk984 and 8 more
Metadata
Metadata
Assignees
Labels
No labels