Class Relations
- class: ::nx::EnsembleObject
::nx::EnsembleObject create ::acs::db::nsdb-postgresql::slot::__call::category_synonym
Methods (to be applied on the object)
convert_string (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select category_synonym__convert_string(:name)}]
return [ns_set value $s 0]
}
del (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select category_synonym__del(:synonym_id)}]
return [ns_set value $s 0]
}
edit (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select category_synonym__edit(:synonym_id,:new_name,:locale)}]
return [ns_set value $s 0]
}
get_similarity (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select category_synonym__get_similarity(:len1,:len2,:matches)}]
return [ns_set value $s 0]
}
new (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select category_synonym__new(:name,:locale,:category_id,:synonym_id)}]
return [ns_set value $s 0]
}
reindex (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select category_synonym__reindex(:synonym_id,:name,:locale)}]
return [ns_set value $s 0]
}
search (scripted)
db_with_handle -dbn $dbn __DB {
set s [ns_pg_bind 0or1row $__DB {select category_synonym__search(:search_text,:locale)}]
return [ns_set value $s 0]
}