sql_identifier_split


Description:

[ 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}]]>

Parameters:

id

an SQL identifier

Returns:

a new null-terminated array of strings, or NULL (use strfreev to free the returned array)


Namespace: Gda
Package: libgda-6.0