Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introduction to SQLDelight

Introduction to SQLDelight

I have talked about SQLDelight, a library for Android that generates Java models from CREATE TABLE statements.

* https://github.com/square/sqldelight

Shohei Kawano

May 25, 2016
Tweet

More Decks by Shohei Kawano

Other Decks in Programming

Transcript

  1. • Very Boilerplate 
 Static final Strings, ContentValues.. • Java

    × SQL Mixed up • Very fragile
 “CREATE TABLE”, “INTEGER PRIMARY KEY”
  2. SQLDelight • Static analysis of your SQL • Completely separated

    SQL from Java codes • Auto generated Java Models based on SQL