~/talk

Object relational mapping in HMI development with Qt

links:none on file
slides:none on file

An LGPLv3 Qt module named Qt ORM implements an object–relational layer using the Qt Meta-Object System and Qt SQL/SQLite, requires C++17, and is currently a prototype that is SQLite-only and single-threaded. It auto-generates schema, exposes a session with merge/transaction/rollback, returns QVector<T> domain objects with eager fetching, and lets you build filters as C++ expressions instead of SQL strings. It aims for embedded use (not for very large tables ~100k+ rows) and crashes on mapping inconsistencies to fail fast.

AI-written summary · about

  1. 0:00Introduction
  2. 0:39Agenda
  3. 2:37Structured data
  4. 3:35Data model
  5. 5:07Database modeling
  6. 6:18SQL
  7. 6:41Reading code
  8. 8:08Telemetry
  9. 9:13Data models
  10. 11:18Object relational libraries
  11. 13:53Disadvantages
  12. 15:08Why Qt
  13. 17:39QtRM
  14. 18:52Qt default constructor
  15. 19:34Example project
  16. 20:00Creating domain classes
  17. 20:55Creating ORM sessions
  18. 21:51Creating two engines
  19. 22:44Updating the database
  20. 23:15Transactions
  21. 24:04Rollback
  22. 24:23Cure
  23. 25:28Filter
  24. 26:06Run
  25. 26:23Remove
  26. 26:39Summary
~/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.