%3 ::xotcl::Object ::xotcl::Object ::xo::db::sql::bt_bug_revision ::xo::db::sql::bt_bug_revision → new ::xo::db::sql::bt_bug_revision->::xotcl::Object

Class ::xo::db::sql::bt_bug_revision

::xo::db::sql::bt_bug_revision[i] create ...

Defined in

Class Relations

  • class: ::xo::db::Class[i]
  • superclass: ::xotcl::Object[i]
::xo::db::Class create ::xo::db::sql::bt_bug_revision \
     -superclass ::xotcl::Object

Methods (to be applied on the object)

  • new (scripted, public)

     xo::db::sql::bt_bug_revision[i] new [ -dbn dbn ] [ -childof childof ]

    Automatically generated method

    Switches:
    -dbn (optional)
    -childof (optional)

    Testcases:
    No testcase defined.
    #function_args: 
    foreach var [list ]  {
      set varname [string tolower $var]
      if {[info exists $varname]} {
        set $var [set $varname]
        set _$var :$var
      } else {
        set _$var null
      }
    }
    set sql "
    select bt_bug_revision__new() 
        "
    db_with_handle -dbn $dbn db {
      #ns_log notice "--sql=$sql"
      return [ ns_set value [ns_pg_bind 0or1row $db $sql] 0 ]
    }