[ CCode ( array_length = false , array_null_terminated = true ) ]
public string[]? completion_list_get (Connection cnc, string sql, int start, int end)
Creates an array of strings (terminated by a null) corresponding to possible completions.
If no completion is available, then the returned array contains just one NULL entry, and if it was not possible to try to compute a completions list, then null is returned.
cnc |
a Connection object |
sql |
a partial SQL statement which is the context of the completion proposal, may also start with a "." for Gda's tools which use internal commands |
start |
starting position within |
end |
ending position within |
a new array of strings, or null (use strfreev to free the returned array) |