Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Remove the "?" in "user?.post" - Prisma
P
Prisma
•
12mo ago
•
4 replies
dotEXE
Remove the "?" in "user?.post"
Hey
So this is from Youtube
.
When we get a user from prisma
, it always has to include this
"
?
"
How can we make the code better so it wont require us to do that
?
Just to add if
(
!user
) return XYZ
;
?
Prisma
Join
The official Discord server of Prisma! Find us online at prisma.io
9,819
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Postgis in Prisma Postgres
P
Prisma / help-and-questions
15mo ago
PostGIS support in Prisma Postgres
P
Prisma / help-and-questions
3w ago
User was denied access on the database `postgres`
P
Prisma / help-and-questions
6mo ago
[Urgent] Please remove the suspended status
P
Prisma / help-and-questions
2mo ago