From b570254acffacf2ac5868d1fb4b43d8bd2e4e6eb Mon Sep 17 00:00:00 2001 From: Osiris-Team <59899645+Osiris-Team@users.noreply.github.com> Date: Thu, 9 May 2024 13:39:49 +0200 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cde60f6..efbbf01 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,8 @@ Just reading the "Safety" section below will already give you an idea. - Protection against timed out connections. - 0% boilerplate and simple code decreasing the risk for bugs. - (Optional) Helper WHERE class for generating simple and complex SQL queries, from compile-safe functions. -- Safe removal of rows where references will be unset (set to -1) by default. Also provides removeRefs(...) to safely remove referenced rows. References are created by naming your column like so: tableNameId. +- Safe removal of rows where references will be unset (set to -1) by default. Also provides removeRefs(...) to safely remove referenced rows. +For conveniece if removing all rows with refs should be the default you can set `Database.isRemoveRefs = true;`. References are created by naming your column like so: tableNameId. ### ⚡️ Performance - No runtime overhead for class generation (unlike other ORMs).