database_name
Returns current database name.
Target
Signature
1database_name()Returns current database name.
database_name is a global callable that can be used wherever an expression is valid. database_name is part of datasource access. Prefer bind values for visitor input, inspect errors during writes, and keep display escaping separate from SQL handling.
Examples
Basic call
1database_nameThe example shows the call shape; use bind values and checked errors for visitor-supplied data.