exclude column form selection (Hidden Columns) @select(false)
#2159
Answered
by
ryands17
satishbabariya
asked this question in
Q&A
-
How can i exclude certain column form select query overall like Password in the User Model. Currently i'm using Is ther any way to do this in prisma2? like model User {
id Int @default(autoincrement()) @id
email String @unique
password String @select(false)
} reference of TypeORM: https://typeorm.io/#/select-query-builder/hidden-columns |
Beta Was this translation helpful? Give feedback.
Answered by
ryands17
Apr 17, 2020
Replies: 1 comment
-
Feature Request referenced here |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jharrell
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature Request referenced here