~/talk

Using MySQL Document Store with Node js

Talkat UtahJS Conf 2023 · on Friday, 2023-09-15· [nodejs, databases]
links:none on file
slides:none on file

Shows how to use Node.js with MySQL Document Store via @mysql/xdevapi and the X Protocol (port 33060), including connection pooling, sessions, and collection anatomy (id, doc, json_uncore_schema). Demonstrates CRUD: list 14,879 documents, paginate with limit/offset, select fields and sort, dot-path find and bound parameters, and modify/remove with required WHERE. Shows raw SQL using JSON_TABLE/JSON_OBJECT to aggregate 14 years of rounds (80 golfers) and surprisingly computes a best-nine total of 20.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:09NoSQL vs relational databases
  3. 3:18What is MySQL Document Store
  4. 6:09Accessing MySQL Document Store
  5. 8:40Setting up Node.js connector
  6. 11:54CRUD API with find method
  7. 14:06Pagination with limit and offset
  8. 16:40Sorting and field selection
  9. 19:07Using WHERE clauses in queries
  10. 21:38Parameter binding and functions
  11. 24:28Grouping and aggregation
  12. 26:53Advanced reporting with JSON functions
  13. 30:47Adding documents to store
  14. 32:53Modifying and removing documents
  15. 33:58Resources and contact info
  16. 35:03Q&A and giveaway
~/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.