completionListGet

fnstring[] completionListGet(gda.connection.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

cnca #GdaConnection object
sqla partial SQL statement which is the context of the completion proposal
startstarting position within sql of the "token" to complete (starts at 0)
endending position within sql of the "token" to complete

Returns

a new array of strings, or null (use [glib.global.strfreev] to free the returned array)