export const list = query({ args: {}, handler: async (ctx) => { const rows = await ctx.db.query("table").collect(); return rows.map((row) => row._id)); },});