completion_list_get


Description:

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.

Parameters:

cnc

a Connection object

sql

a partial SQL statement which is the context of the completion proposal

start

starting position within sql of the "token" to complete (starts at 0)

end

ending position within sql of the "token" to complete

Returns:

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


Namespace: Gda
Package: libgda-5.0