Enforce the Where parameter for Query Builder |
When the Where condition is not specified, we do not want to take this risk because the entire table will be updated or deleted. So we don't want a query without a where condition to go to the database.
If there is no where in the update and delete arguments when creating or creating the active records tsql code, instead of sending the tsql code to sqle, stop the script and suppress the error. Translated with DeepL (04-04-2024, 08:53 PM)mywebmanavgat Wrote: When the Where condition is not specified, we do not want to take this risk because the entire table will be updated or deleted. So we don't want a query without a where condition to go to the database. |
Messages In This Thread |
Enforce the Where parameter for Query Builder - by mywebmanavgat - 04-04-2024, 02:24 PM
RE: Enforce the Where parameter for Query Builder - by ozornick - 04-04-2024, 05:20 PM
RE: Enforce the Where parameter for Query Builder - by kenjis - 04-04-2024, 05:43 PM
RE: Enforce the Where parameter for Query Builder - by mywebmanavgat - 04-04-2024, 08:53 PM
RE: Enforce the Where parameter for Query Builder - by ozornick - 04-04-2024, 09:09 PM
|