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
tbh, it's quite easy to forget to add limit clause when querying data from database. The query might work well in local or test environment, but go wild in production because large tables happen.
is it necessary to add an option to be able to set a default .limit(10000) when selecting records from database?
The text was updated successfully, but these errors were encountered:
I think this option should be left to the users to decide, as querying 10000 rows of non-wide tables should not cause any significant performance issues. It could perhaps be implemented as a configuration item.
tbh, it's quite easy to forget to add limit clause when querying data from database. The query might work well in local or test environment, but go wild in production because large tables happen.
is it necessary to add an option to be able to set a default
.limit(10000)
when selecting records from database?The text was updated successfully, but these errors were encountered: