No query result types

When i'm doing this.conn.query.organizations.findMany({}) there is no autocomplete for organizations columns, it shows only relations (restaurants)

this.conn is PostgresJsDatabase<typeof schema>
But if i specify
{
  columns: { id: true },
}
, it shows id in autocomplete

How can I fix this, I want to see all fields in autocomplete
Code_rr4XaCZOKo.png
Code_ARLzVp6EDP.png
Was this page helpful?