// This file is autogenerated, DO NOT EDIT // Use `node scripts/generate-docs-examples.js` to generate the docs examples [source, js] ---- const response = await client.esql.query({ format: "txt", query: "\n FROM library\n | SORT page_count DESC\n | KEEP name, author\n | LOOKUP era ON author\n | LIMIT 5\n ", tables: { era: { author: { keyword: [ "Frank Herbert", "Peter F. Hamilton", "Vernor Vinge", "Alastair Reynolds", "James S.A. Corey", ], }, era: { keyword: ["The New Wave", "Diamond", "Diamond", "Diamond", "Hadron"], }, }, }, }); console.log(response); ----