Insert Raw SQL
Explore how to use Ecto’s fragment function to insert raw SQL into queries, enabling you to call specialized database functions like Postgres lower. Understand extending Ecto’s query API with custom macros and see how raw SQL integrates with Ecto queries for enhanced flexibility.
We'll cover the following...
We'll cover the following...
The fragment function
Ecto’s query API gives us nearly everything we need to write even very complex queries. Still, we might have cases where our ...