xo::db::postgresql instproc map_datatype

 <instance of xo::db::postgresql[i]> map_datatype

Defined in

Partial Call Graph (max 5 caller/called nodes):
%3 test_xotcl-core xotcl-core (test ) xo::db::postgresql instproc map_datatype xo::db::postgresql instproc map_datatype test_xotcl-core->xo::db::postgresql instproc map_datatype test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test ) test_xotcl_core_tutorial_2->xo::db::postgresql instproc map_datatype

Testcases:
xotcl_core_tutorial_2, xotcl-core
Source code:
switch -- $type {
  string    { set type text }
  long_text { set type text }
  date      { set type "timestamp with time zone" }
  ltree     { set type [expr {[::xo::dc has_ltree] ? "ltree" : "text" }] }
  default   { return [next] }
}
return $type
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: