-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Other options field work properly, but the where option is not working at all, thus it's returning the whole table
const a = await this.query({
columns: ["recipeCategoryId"],
where: { recipeCategoryId: 1 },
});this code while return this
[{recipeCategoryId: 3},[recipeCategory: 1}]
which is wrong
my migration look like this
"022420241853_init_recipes": sql`
CREATE TABLE recipes (
recipeCategoryId INTEGER NOT NULL
);`,
Metadata
Metadata
Assignees
Labels
No labels