%3 ::xotcl::Object ::xotcl::Object → getExitHandler → setExitHandler → unsetExitHandler __object_configureparameter __timediff abstract ad_doc ad_forward ad_proc asHTML check class db_0or1row db_1row debug destroy_on_cleanup ds extractConfigureArg filter filtersearch forward hasclass init invar isclass ismetaclass ismixin isobject istype log method mixin mset msg parametercmd proc procsearch qn self serialize set_instance_vars_defaults unknown vwait www-show-object ::xo::db::Driver ::xo::db::Driver 0or1row 1row dml ds foreach get_sql get_value insert-view-operation list list_of_lists map_default_dbn prepare row_lock sets transaction ::xo::db::Driver->::xotcl::Object ::xo::db::DB ::xo::db::DB 0or1row 1row dml exec_0or1row foreach get_value list list_of_lists multirow prepare profile psql_statement_suffix row_lock transaction ::xo::db::DB->::xo::db::Driver ::xo::db::DBI ::xo::db::DBI 0or1row 1row dml foreach generate_psql get_value list list_of_lists prepare profile sets sql_arg_info transaction ::xo::db::DBI->::xo::db::Driver ::xo::db::DB-oracle ::xo::db::DB-oracle generate_psql get_all_package_functions get_function_args sets ::xo::db::DB-oracle->::xo::db::DB ::xo::db::oracle ::xo::db::oracle ::xo::db::DB-oracle->::xo::db::oracle ::xo::db::DB-postgresql ::xo::db::DB-postgresql 0or1row 1row dml foreach generate_psql get_value insert-view-operation list list_of_lists multirow prepare row_lock sets ::xo::db::DB-postgresql->::xo::db::DB ::xo::db::postgresql ::xo::db::postgresql ::xo::db::DB-postgresql->::xo::db::postgresql ::xo::db::DBI-postgresql ::xo::db::DBI-postgresql ::xo::db::DBI-postgresql->::xo::db::DBI ::xo::db::DBI-postgresql->::xo::db::postgresql

Class ::xo::db::Driver

::xo::db::Driver[i] create ... \
           [ -dbn (default "") ]

Class Relations

  • class: ::xotcl::Class[i]
  • superclass: ::xotcl::Object[i]
  • subclass: ::xo::db::DB[i], ::xo::db::DBI[i]
::xotcl::Class create ::xo::db::Driver \
     -superclass ::xotcl::Object

Methods (to be applied on instances)

  • 0or1row (scripted)

    if {![::xotcl::self isnextcall]} {
      error "Abstract method 0or1row {-dbn \"\"} {-bind \"\"} -prepare qn sql called"
    } else {::xotcl::next}
  • 1row (scripted)

    if {![::xotcl::self isnextcall]} {
      error "Abstract method 1row {-dbn \"\"} {-bind \"\"} -prepare qn sql called"
    } else {::xotcl::next}
  • dbn (setter)

  • dialect (setter)

  • dml (scripted)

    if {![::xotcl::self isnextcall]} {
      error "Abstract method dml {-dbn \"\"} {-bind \"\"} -prepare qn sql called"
    } else {::xotcl::next}
  • ds (scripted)

    if {![::xotcl::self isnextcall]} {
      error "Abstract method ds onOff called"
    } else {::xotcl::next}
  • foreach (scripted)

    if {![::xotcl::self isnextcall]} {
      error "Abstract method foreach {-dbn \"\"} {-bind \"\"} -prepare qn sql {script} called"
    } else {::xotcl::next}
  • get_sql (scripted)

    set full_statement_name [db_qd_get_fullname $qn 2]
    set full_query [db_qd_fetch $full_statement_name $dbn]
    set sql [db_fullquery_get_querytext $full_query]
    :uplevel 2 [list subst $sql]
  • get_value (scripted)

    if {![::xotcl::self isnextcall]} {
      error "Abstract method get_value {-dbn \"\"} {-bind \"\"} -prepare qn sql {default \"\"} called"
    } else {::xotcl::next}
  • insert-view-operation (scripted)

    return dml
  • list (scripted)

    if {![::xotcl::self isnextcall]} {
      error "Abstract method list {-dbn \"\"} {-bind \"\"} -prepare qn sql called"
    } else {::xotcl::next}
  • list_of_lists (scripted)

    if {![::xotcl::self isnextcall]} {
      error "Abstract method list_of_lists {-dbn \"\"} {-bind \"\"} -prepare qn sql called"
    } else {::xotcl::next}
  • map_default_dbn (scripted)

    return [expr {$dbn eq "" && ${:dbn} ne "" ? ${:dbn} : $dbn}]
  • prepare (scripted)

    if {![::xotcl::self isnextcall]} {
      error "Abstract method prepare -handle {-argtypes \"\"} sql called"
    } else {::xotcl::next}
  • row_lock (scripted)

    if {![::xotcl::self isnextcall]} {
      error "Abstract method row_lock {-dbn \"\"} {-bind \"\"} {-for \"UPDATE\"} -prepare qn sql called"
    } else {::xotcl::next}
  • sets (scripted)

    if {![::xotcl::self isnextcall]} {
      error "Abstract method sets {-dbn \"\"} {-bind \"\"} -prepare qn sql called"
    } else {::xotcl::next}
  • transaction (scripted)

    if {![::xotcl::self isnextcall]} {
      error "Abstract method transaction {-dbn \"\"} script args called"
    } else {::xotcl::next}