From 5b43f13579fba5e96f781b1b82c8b4f2ff6427ad Mon Sep 17 00:00:00 2001 From: totoro Date: Sat, 28 Mar 2026 12:42:07 +0900 Subject: [PATCH] [!] replace "NULL" string by an empty string in conversion of DB_datetime --- database/db_types.anubis | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/database/db_types.anubis b/database/db_types.anubis index 30a842e..234b42b 100644 --- a/database/db_types.anubis +++ b/database/db_types.anubis @@ -34,7 +34,7 @@ public define Int -> DB_id if row(i) is integer(n) then db_id(n) else if row(i) is null then none else if row(i) is text(txt) then - println("db_id_or_null text "+txt); + //println("db_id_or_null text "+txt); if decimal_scan(txt) is success(val) then db_id(val) else @@ -307,7 +307,7 @@ public define String ( DB_datetime dt )= - datetime(dt). + datetime_not_null(dt, ""). public define String String s + DB_datetime dt = -- libgit2 0.21.4