In addition to positional params, SQLite supports named query parameters. I tend to prefer named params when writing queries by hand as it is more descriptive and less error prone than positional params.
sqlite> .parameter set :name John
sqlite> SELECT upper(:name);
┌──────────────┐
│ upper(:name) │
├──────────────┤
│ 'JOHN' │
└──────────────┘
Is it possible to achieve something similar with Ecto/Exqlite?
In addition to positional params, SQLite supports named query parameters. I tend to prefer named params when writing queries by hand as it is more descriptive and less error prone than positional params.
Is it possible to achieve something similar with Ecto/Exqlite?