8 lines
189 B
TypeScript
8 lines
189 B
TypeScript
import { query, mutation, action } from "./_generated/server";
|
|
|
|
export const get = query({
|
|
args: {},
|
|
handler: async (ctx) => {
|
|
return await ctx.db.query("xiong").collect();
|
|
},
|
|
}); |