Hi, I am trying to query by two conditions, is the...
# orm-help
z
Hi, I am trying to query by two conditions, is there something wrong with this syntax?
Copy code
return await ctx.db.query.entries(
    {
      where: {
        title_contains: searchText,
        stationOwner: {
          id: stationId
        }
      }
    },
    info
  )