LibESQLQuery ESO game data with SQL.Source code on GitHubLibESQL is a library for add-on authors. It turns the game’s data into tables you can query with plain SQL: every ability id, skills and morphs, champion stars, scribing, live buffs and debuffs, every set with its bonuses and pieces, every item id, your inventory, achievements, collectibles, quests, zones, POIs, wayshrines, dungeons, the game’s constants and strings, and more. That’s 49 tables in all.local res = LibESQL.Query(“SELECT id, name, duration_ms FROM abilities WHERE name LIKE ?”, { params = { “%whip%” } })for _, s in ipairs(LibESQL.Select(“SELECT s.name, b.description FROM sets s JOIN set_bonuses b ON b.set_id = s.id WHERE b.description LIKE ?”, { “%critical%” })) do d(s.name .. “: ” .. s.description)endFeaturesReal SQL: SELECT, JOIN / LEFT JOIN, WHERE, GROUP BY, HAVING, ORDER BY, LIMIT, DISTINCT, subqueries, CASE, CAST, ? parameters, aggregates and over 60 functionsNo hitching: QueryAsync spreads big queries over framesEvery ability and item id: found by a one-time background scan, saved until the next game updateFast: lookups by key, hash joins, and columns read from the game only when a query uses themExtensible: register your own tables and SQL functions; they work in every queryOptional data collection: a combat log and a list of every effect id you’ve seenPC/Mac and console: smaller memory and per-frame budgets on consoleNo dependenciesFor playersOn its own the library does nothing visible. Install ESQL for an in-game query window (/esql on PC, Settings > Addons > ESQL on console).For authorsAdd this to your manifest:## DependsOn: LibESQL>=10000GitHub repository: source, issues and pull requestsAPI Reference.md (included, and on GitHub): every function, every table and column, and the full SQL dialectLibESQL-Examples (on GitHub): ten ready-to-install example add-ons, including a console settings panelQuick APILibESQL.Query(sql, opts): a result, or nil + error textLibESQL.QueryAsync(sql, callback, opts): runs in the backgroundLibESQL.Select(sql, params): rows as objectsLibESQL.Scalar(sql, params): a single valueLibESQL.RegisterTable(def) and LibESQL.RegisterFunction(name, fn)LibESQL.Scan(“abilities” | “items”, callback)TipsThe first query on abilities or items indexes every id. Run it with QueryAsync or Scan, not Query.Use ? parameters for any text players type.Run SHOW TABLES and DESCRIBE to explore.Bugs and requestsPlease open an issue on GitHub or comment here.MIT licensed.