SQLiteCpp icon indicating copy to clipboard operation
SQLiteCpp copied to clipboard

Are there plans to enable sqlite3_collation_needed

Open poldi171254 opened this issue 5 years ago • 2 comments

Not sure what the default collation is for SQLite, but are there plans to provide access to this via SQLiteCPP? Thanks

poldi171254 avatar Jan 25 '20 23:01 poldi171254

Hello, there is no plan yet since I have never had the usage of collation myself.

What are your use case? How would you like it implemented on the C++ wrapper (you can already use the C library directly through the C++ wrapper)?

Sébastien

SRombauts avatar Jan 28 '20 08:01 SRombauts

Hi, I'm in the process of porting a mysql app (Amarok) to sqlite and most of the tables in mysql are defined with utf8_bin which compares strings by the binary value of each character in the string to find exact matches.

Happy to try this directly through the wrapper if you can give me an example Thanks, Leo

poldi171254 avatar Jan 29 '20 00:01 poldi171254