xo::db::Object instproc save (public)

 <instance of xo::db::Object[i]> 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):
%3 test_test_xo_db_object test_xo_db_object (test xotcl-core) xo::db::Object instproc save xo::db::Object instproc save test_test_xo_db_object->xo::db::Object instproc save test_xotcl_core_tutorial_2 xotcl_core_tutorial_2 (test xotcl-core) test_xotcl_core_tutorial_2->xo::db::Object instproc save

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}
{*}$cmd
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: