Arnab
07/03/2018, 9:14 AM2018-07-03 09:10:47.389 UTC [58] LOG: execute <unnamed>: SELECT * FROM "default$default"."Department" AS "Alias" WHERE TRUE ORDER BY "Alias"."id" asc
2018-07-03 09:10:54.081 UTC [58] LOG: execute <unnamed>: SELECT * FROM "default$default"."Department" AS "Alias" WHERE TRUE ORDER BY "Alias"."id" asc
These are the GraphQL queries:
query {
departments {
description
name
}
}
query {
departments {
name
}
}
Shouldn't these queries be selective about what fields are queried in the database instead of just doing a wildcard on both? Maybe there is some kind of lower threshold (say less than 3 cols in the table) where prisma just does wildcard?nilan
07/03/2018, 2:29 PMArnab
07/03/2018, 7:31 PM