[ 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 "test.\"ATable\"" string will result in the array: {"test", "\"ATable\"", NULL}
id |
an SQL identifier |
a new |