最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

browser - Is there a way to use collations in javascript applications - Stack Overflow

programmeradmin1浏览0评论

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?

发布评论

评论列表(0)

  1. 暂无评论