Type inference for plain-text SQL

about this session

Martin Kučera

&

Thursday 
1:05 pm

In this talk, we will explore how to write a simple Scala macro that can automatically infer the result type of an arbitrary SQL query, bringing type safety to plain-text SQL without the need to declare schemas in your code.

The macro dynamically fetches the schema directly from the database at compile time, ensuring your SQL queries are validated and type-checked as part of the build process.

No prior macro experience required!

Martin Kučera
Martin Kučera

Our Sponsors

coralogixUMATRCondukorMatechsscalaCZivergeRock the JVMZIO
DECEMBER 5 & 6 2024
ONLINE
get your ticket