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(CAST(:synonym_id AS integer))}]
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(CAST(:synonym_id AS integer),: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(CAST(:len1 AS integer),CAST(:len2 AS integer),CAST(:matches AS bigint))}]
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,CAST(:category_id AS integer),CAST(:synonym_id AS integer))}]
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(CAST(:synonym_id AS integer),: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]
}