Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the innovative Magnum database client for Scala 3 in this Scala Days 2023 Seattle conference talk by August Nagro. Discover how Magnum combines macros and structural types to provide a typesafe, IDE-refactorable SQL interface compatible with all JDBC-supported databases. Compare different approaches to database clients on the JVM, including Object Oriented Repositories, Functional DSLs, and SQL String interpolators. Learn about Magnum's unique features, such as its ability to express all SQL expressions and its emphasis on maintainability, ease of use, and performance. Gain insights into simple and advanced SQL operations, Scala 3 database clients, and the key innovations that set Magnum apart from other solutions. Delve into topics like connecting to databases, transactions, SQL interpolation, updates, batch updates, case classes, and database-generated columns. Understand how Magnum leverages the full power of Scala 3 to provide a new perspective on database client development.
Syllabus
Introduction
Key Questions
Wheres the AI
Noam Chomsky
Jane Goodall
Simple SQL Operations
Complex SQL Operations
Scala 3 Database Clients
Functional DSLs
SQL String Interpolators
What makes Magnum unique
Connect
transact
implicits
customize transactions
SQL interpolator
Update
Batch Updates
Case Class
Spring Spring Data
Full Repository
Database generated columns
Specifications
Instantiation
enums
DBCodec
Common queries
Magnum version 10
Taught by
Scala Days Conferences