Skip to main content

is_safe_sql_identifier

Function is_safe_sql_identifier 

Source
pub fn is_safe_sql_identifier(text: &str) -> bool
Expand description

Returns whether safe SQL identifier.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::json_commands::is_safe_sql_identifier holds and false otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::runtime::json_commands::is_safe_sql_identifier.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::is_safe_sql_identifier("{}");