On 11/8/17, Jens Alfke <j...@mooseyard.com> wrote:
> Is it possible for a user-defined function to determine the collation
> associated with its argument(s)? I'm implementing some custom string
> matching/comparison functions, and I want their case-sensitivity to depend
> on the collation of the first argument (the LHS).

It is not currently possible for a UDF to find the collation
associated with its arguments.

Some built-in functions (ex: min() and max()) do this.  But they do so
using internal APIs and with help from the query planner.  The
capability is not available to ordinary UDFs.

D. Richard Hipp
sqlite-users mailing list

Reply via email to