Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore TyQL, a revolutionary type-safe database query library for Scala 3 that eliminates the need for macros and higher-kinded types by leveraging Named Tuples to achieve compile-time safety and intuitive syntax. Learn how this innovative approach addresses the common challenges in Scala database query design, where developers must choose between powerful but complex macro-based libraries with steep learning curves and simple but error-prone string-based solutions. Discover how TyQL provides a LINQ-style query interface using idiomatic Scala syntax while maintaining full type safety, clear error messages, and seamless IDE integration. Examine the core design principles behind TyQL and understand how Named Tuples enable expressive, intuitive embedded queries that feel natural to Scala developers. See practical demonstrations of both fundamental and advanced database features, including dialect-aware type-checking capabilities. Gain comprehensive insights into both the practical application of TyQL in real-world scenarios and the underlying architectural decisions that make this macro-free approach possible, presented by Anna Herlihy from LAMP at EPFL during this 40-minute conference talk at Scala Days 2025.
Syllabus
Anna Herlihy: Macro Free Type Safe Database Queries in Scala [Scala Days 2025]
Taught by
Scala Days Conferences