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.5k stars 1.28k forks source link

Add support for Postgres lquery arrays #3553

Open philipcristiano opened 1 month ago

philipcristiano commented 1 month ago

An lquery array can be used with the ? operator for "Does ltree match any lquery in array?"

Documentation: https://www.postgresql.org/docs/current/ltree.html#LTREE-OPS-FUNCS

fixes #2246