What structure is expected when using the http-proxy?

When I run this code i get a object with a empty id and name.
        const db = drizzle(async (sql, params, method) => {
            const result = await database.select(sql, params);

            return {
                rows: [
                    {
                        id: "1231",
                        name: "1231",
                    },
                ],
            };
        });

        const results = await db
            .select({
                id: this.getDrizzleSchema().id,
                name: this.getDrizzleSchema().name,
            })
            .from(this.getDrizzleSchema())
            .execute();

What is the expected return value?
Was this page helpful?