db_nullify_empty_string (public, deprecated)

 db_nullify_empty_string string

Defined in packages/acs-tcl/tcl/01-database-procs.tcl

Deprecated. Invoking this procedure generates a warning.

A convenience function that returns [db_null] if $string is the empty string. Deprecated: essentially just returns the passed string.

Parameters:
string

See Also:
  • db_null

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
Source code:
ns_log Notice "Deprecated proc db_nullify_empty_string used:\n[ad_get_tcl_call_stack]"

    return $string
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: