Skip to content

Bug : this.query( where ) not working  #71

@mvp-studio-repo

Description

@mvp-studio-repo

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions