xo::db::Object instproc save (public)
<instance of xo::db::Object> save [ -package_id package_id ] \ [ -modifying_user modifying_user ] [ -context_id context_id ]
Defined in packages/xotcl-core/tcl/05-db-procs.tcl
Save the current object in the database
- Switches:
- -package_id
(optional)- -modifying_user
(optional)- -context_id
(optional)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- xotcl_core_tutorial_2, test_xo_db_object
Source code: set cmd [list :update] if {[info exists package_id]} {lappend cmd -package_id $package_id} if {[info exists modifying_user]} {lappend cmd -modifying_user $modifying_user} if {[info exists context_id]} {lappend cmd -context_id $context_id} {*}$cmdXQL Not present: Generic, PostgreSQL, Oracle