Audit with AI

This commit is contained in:
2025-11-16 11:37:02 +05:30
parent 551e2123bc
commit 29cddb6389
24 changed files with 1286 additions and 79 deletions

View File

@@ -19,6 +19,12 @@ type (
}
)
// WARNING: DELETE without WHERE clause will delete ALL rows in the table.
// Always use Where() to specify conditions unless you intentionally want to delete all rows.
// Example:
// table.Delete().Where(field.Eq(value)).Exec(ctx) // Safe
// table.Delete().Exec(ctx) // Deletes ALL rows!
func (q *deleteQry) Where(cond ...Conditioner) WhereOrExec {
q.condition = append(q.condition, cond...)
return q