acs_message_get_tree_sortkey (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_message_get_tree_sortkey(CAST(:message_id AS integer))}]
return [ns_set value $s 0]
}
acs_object_type_get_tree_sortkey (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select acs_object_type_get_tree_sortkey(:object_type)}]
return [ns_set value $s 0]
}
cmp_pg_version (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select cmp_pg_version(:version)}]
return [ns_set value $s 0]
}
column_exists (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select column_exists(:table_name,:column_name)}]
return [ns_set value $s 0]
}
cr_items_get_tree_sortkey (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select cr_items_get_tree_sortkey(CAST(:item_id AS integer))}]
return [ns_set value $s 0]
}
cr_keywords_get_tree_sortkey (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select cr_keywords_get_tree_sortkey(CAST(:keyword_id AS integer))}]
return [ns_set value $s 0]
}
define_function_args (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select define_function_args(:function,:arg_list)}]
return [ns_set value $s 0]
}
drop_package (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select drop_package(:package_name)}]
return [ns_set value $s 0]
}
get_func_definition (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select get_func_definition(:fname,:args)}]
return [ns_set value $s 0]
}
get_func_drop_command (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select get_func_drop_command(:fname)}]
return [ns_set value $s 0]
}
get_func_header (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select get_func_header(:fname,:args)}]
return [ns_set value $s 0]
}
group_contains_p (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select group_contains_p(CAST(:group_id AS integer),CAST(:component_id AS integer),CAST(:rel_id AS integer))}]
return [ns_set value $s 0]
}
instr (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select instr(:str,:pat,CAST(:dir AS integer),CAST(:cnt AS integer))}]
return [ns_set value $s 0]
}
int_to_tree_key (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select int_to_tree_key(CAST(:intkey AS integer))}]
return [ns_set value $s 0]
}
lob_copy (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select lob_copy(CAST(:from_id AS integer),CAST(:to_id AS integer))}]
return [ns_set value $s 0]
}
lob_get_data (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select lob_get_data(CAST(:lob_id AS integer))}]
return [ns_set value $s 0]
}
lob_length (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select lob_length(CAST(:id AS integer))}]
return [ns_set value $s 0]
}
number_src (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select number_src(:v_src)}]
return [ns_set value $s 0]
}
rdbms_date (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select rdbms_date(:raw_date)}]
return [ns_set value $s 0]
}
rule_exists (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select rule_exists(:rule_name,:table_name)}]
return [ns_set value $s 0]
}
split (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select split(:string,:split_char,CAST(:element AS integer))}]
return [ns_set value $s 0]
}
table_exists (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select table_exists(:table_name)}]
return [ns_set value $s 0]
}
tree_ancestor_key (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select tree_ancestor_key(:tree_key,CAST(:level AS integer))}]
return [ns_set value $s 0]
}
tree_ancestor_p (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select tree_ancestor_p(:potential_ancestor,:potential_child)}]
return [ns_set value $s 0]
}
tree_increment_key (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select tree_increment_key(:child_sort_key)}]
return [ns_set value $s 0]
}
tree_key_to_int (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select tree_key_to_int(:tree_key,CAST(:level AS integer))}]
return [ns_set value $s 0]
}
tree_leaf_key_to_int (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select tree_leaf_key_to_int(:tree_key)}]
return [ns_set value $s 0]
}
tree_left (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select tree_left(:key)}]
return [ns_set value $s 0]
}
tree_level (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select tree_level(:tree_key)}]
return [ns_set value $s 0]
}
tree_next_key (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select tree_next_key(:parent_key,CAST(:child_value AS integer))}]
return [ns_set value $s 0]
}
tree_right (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select tree_right(:key)}]
return [ns_set value $s 0]
}
tree_root_key (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select tree_root_key(:tree_key)}]
return [ns_set value $s 0]
}
trigger_exists (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select trigger_exists(:trigger_name,:on_table)}]
return [ns_set value $s 0]
}
trigger_func_exists (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select trigger_func_exists(:trigger_name)}]
return [ns_set value $s 0]
}
trigger_type (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select trigger_type(CAST(:tgtype AS integer))}]
return [ns_set value $s 0]
}