7±2 Things You Didn't Know About Exposed

May 04, 2023 45 min Free

Description

Alexey Soshin, a contributor to the Exposed ORM framework, shares lesser-known features and implementation details of Exposed. The talk covers handling many-to-many and one-to-many relationships, choosing the right date library (Kotlin DateTime, Java Time, or Joda Time), debugging SQL queries, integrating with Kotlin coroutines and suspending functions, working with SQL expressions and nulls, mapping query results to entities, using entity hooks for auditing, and handling legacy data with custom enumerations. The presentation also briefly touches upon the `exec` method for arbitrary SQL statements as a last resort.