xo::db::postgresql instproc select
<instance of xo::db::postgresql> select
Defined in
- Testcases:
-
xotcl_core_tutorial_2, xotcl-core
Source code:
set where_clause [expr {$where ne "" ? "WHERE $where" : ""}]
set offset_clause [expr {$offset ne "" ? "OFFSET $offset" : ""}]
set limit_clause [expr {$limit ne "" ? "LIMIT $limit" : ""}]
set order_clause [expr {$orderby ne "" ? "ORDER BY $orderby" : ""}]
set group_clause [expr {$groupby ne "" ? "GROUP BY $groupby" : ""}]
return "SELECT $vars FROM $from $where_clause $group_clause $order_clause $limit_clause $offset_clause"
XQL Not present:Generic, PostgreSQL, Oracle
[
hide source ]
| [
make this the default ]