From 7a24b59a4b388688fd990f190f219b151dc4b32a Mon Sep 17 00:00:00 2001 From: totoro Date: Sat, 19 Mar 2016 16:45:13 +0100 Subject: [PATCH] create vt_view_row_header and add db_id in vt_view_row --- database/db_types.anubis | 11 +++++++++++ 1 file changed, 11 insertions(+), 0 deletions(-) diff --git a/database/db_types.anubis b/database/db_types.anubis index 857ea4e..e421bbb 100644 --- a/database/db_types.anubis +++ b/database/db_types.anubis @@ -35,6 +35,17 @@ public define String none then "none", db_id(_idx) then abs_to_decimal(_idx) }. + +public define Int + to_Int + ( + DB_id idx + )= + if idx is + { + none then (Int)-1, + db_id(_idx) then _idx + }. public define String to_String -- libgit2 0.21.4