acs::db::nsdb-postgresql method call acs_attribute drop_attribute (public)

 <instance of acs::db::nsdb-postgresql[i]> call acs_attribute drop_attribute \
    [ -dbn dbn ] -object_type object_type  \
    -attribute_name attribute_name  [ -drop_column_p drop_column_p ]

Defined in packages/acs-tcl/tcl/00-acs-tcl-init.tcl

Automatically generated method TYPES: {character varying} {character varying} boolean

Switches:
-dbn (optional)
-object_type (required)
-attribute_name (required)
-drop_column_p (optional, defaults to "f")

Testcases:
No testcase defined.
Source code:
db_with_handle -dbn $dbn __DB {
   set s [ns_pg_bind 0or1row $__DB {select acs_attribute__drop_attribute(:object_type,:attribute_name,:drop_column_p)}]
   return [ns_set value $s 0]
}
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: