[ CCode ( array_length = false , array_null_terminated = true ) ]
public string[]? sql_identifier_split (string id)
Splits id
into an array of it sub parts.
id
's format has to be "<part>[.<part>[...]]" where each part is either a text surrounded by
double quotes which can contain upper and lower cases or an SQL identifier in lower case.
For example the <![CDATA["test.\"ATable\""]]> string will result in the array: <![CDATA[{"test", "\"ATable\"", NULL}]]>
id |
an SQL identifier |
a new null-terminated array of strings, or NULL (use strfreev to free the returned array) |