launchbadge / sqlx

🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
Apache License 2.0
13.46k stars 1.28k forks source link

Mysql compatible with SQL type JSON #1287

Open Uchiha007 opened 3 years ago

Uchiha007 commented 3 years ago

Rust type alloc::string::String (as SQL type VARCHAR) is not compatible with SQL type JSON"

How to use Sting or Vec to match json type in mysql ?

oh0123 commented 3 years ago

check out #475