Commit 7a24b59a4b388688fd990f190f219b151dc4b32a

Authored by totoro
1 parent 46219dd3

create vt_view_row_header and add db_id in vt_view_row

Showing 1 changed file with 11 additions and 0 deletions   Show diff stats
database/db_types.anubis
... ... @@ -35,6 +35,17 @@ public define String
35 35 none then "none",
36 36 db_id(_idx) then abs_to_decimal(_idx)
37 37 }.
  38 +
  39 +public define Int
  40 + to_Int
  41 + (
  42 + DB_id idx
  43 + )=
  44 + if idx is
  45 + {
  46 + none then (Int)-1,
  47 + db_id(_idx) then _idx
  48 + }.
38 49  
39 50 public define String
40 51 to_String
... ...