From f83293ff1a406b7753a93ec289c904d6c8ed5bc3 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Tue, 13 Jun 2023 11:47:38 +0900 Subject: [PATCH] Info comments for DB\IO convert options --- www/lib/CoreLibs/DB/Options/Convert.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/www/lib/CoreLibs/DB/Options/Convert.php b/www/lib/CoreLibs/DB/Options/Convert.php index 7eeb2f8b..5e4cefd4 100644 --- a/www/lib/CoreLibs/DB/Options/Convert.php +++ b/www/lib/CoreLibs/DB/Options/Convert.php @@ -19,10 +19,15 @@ namespace CoreLibs\DB\Options; enum Convert: int { + /** do not convert */ case off = 0; + /** convert only int/bool */ case on = 1; + /** also convert json to php array */ case json = 2; + /** also convert any float/real/numeric to php float */ case numeric = 4; + /** also decode bytea string to php string */ case bytea = 8; /**