admin管理员组

文章数量:1406308

Looking for a way to compare strings in a javascript browser application using collations supported by relational databases.

Lets say my javascript application talks to a SQL server that's using "SQL_Latin1_General_CP1_CI_AS" or a Snowflake instance that's using "es-ci" etc. I want to compare strings like the database would. The application is using some C++ compiled to WebAssembly without wasi (target wasm32-unknown-unknown).

Here's what I was able to find, some of which might be outdated.

(1) wasi isn't supported by browsers (2) wasi has strcoll (3) wasi is missing libicu

Couldn't find a javascript module for collations.

Is there a way?

本文标签: browserIs there a way to use collations in javascript applicationsStack Overflow