~/talk

Don’t fear SQL: A better way to store and handle data with SQLBrite & SQLDelight

Talkat 360|AnDev 2017 · 2017-07-13..07-14· [databases]
slides:none on file

Square’s SQLDelight generates type-safe generated models and Java row mappers from .sq files, gives compile-time SQL validation, autocompletion, precompiled statements and column adapters for enums and Date/Time; migrations remain manual. SQLBrite provides reactive table notifications over SQLite (and ContentResolver) with RxJava observables, transactions to batch emissions, and lightweight logging. Combined they produce precompiled statements, automated marshaling between cursor and model, about 160+ methods of runtime code added, and noticeably fewer runtime crashes and boilerplate.

AI-written summary · about

  1. 0:00Start
  2. 0:18Outline
  3. 1:26SQLite in Android - pros
  4. 3:46SQLite in Android - example
  5. 5:15What is ORM?
  6. 12:21SQLDelight - ... generates
  7. 16:50SQLDelight - types
  8. 17:44SQLDelight - custom classes
  9. 20:08SQLDelight - migrations
  10. 22:33SQLBrite - usage
  11. 24:22SQLBrite - content resolvers
  12. 24:57SQLBrite - powerful logging
  13. 26:28SQLBrite - transactions
  14. 29:53Traditional Android APIs
  15. 31:28Room
  16. 32:02Review
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.