# Inferring & casting param types for raw SQL

**URL:** <https://forum.elixirforum.com/t/inferring-casting-param-types-for-raw-sql/72366>\
**Category:** Questions\
**Tags:** ecto, sql, ecto\_sql\
**Created:** [September 4, 2025, 2:57pm UTC](https://forum.elixirforum.com/t/inferring-casting-param-types-for-raw-sql/72366 "2025-09-04T14:57:55Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![rodloboz](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/rodloboz/32/37865_2.png) [@rodloboz](https://forum.elixirforum.com/u/rodloboz)\
**Post date:** [September 4, 2025, 4:02pm UTC](https://forum.elixirforum.com/t/inferring-casting-param-types-for-raw-sql/72366/3 "2025-09-04T16:02:04Z")

</div>

Thanks! That’s a bummer… I’d like to have something that can work across all 3 database types

---

_[View the full topic](https://forum.elixirforum.com/t/inferring-casting-param-types-for-raw-sql/72366)._
