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 ad_log_deprecated ad_log_deprecated (public) db_nullify_empty_string db_nullify_empty_string db_nullify_empty_string->ad_log_deprecated

Testcases:
No testcase defined.
Source code:
ad_log_deprecated proc db_nullify_empty_string
    return $string
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: