Anas Badran
Explore posts from serversDTDrizzle Team
•Created by Anas Badran on 9/19/2024 in #help
Need help building up a query based on nested fields.
I need some help to query the chat that has only the two members only
private chat
based on the schema below.3 replies
DTDrizzle Team
•Created by Anas Badran on 9/13/2024 in #help
Query based on nested relation
I need help modifying the query code to properly query the chat where it has the the two members.
4 replies
DTDrizzle Team
•Created by Anas Badran on 8/25/2024 in #help
Nested queries
Based on the provided schema, how to react the query to fetch first 25 posts a long with their comments and reactions, and each comment have it's own reaction, anyone have any ideas?
2 replies
DTDrizzle Team
•Created by Anas Badran on 8/24/2024 in #help
Inferring types for nested objects
I need help on how to setup the types for the data returned so I can get correct autocomplete:
4 replies
DTDrizzle Team
•Created by Anas Badran on 8/23/2024 in #help
Storing Images
Hi everyone, I just want to know what is the best way to store images according to these info about the system I'm building.
- a user needs to have a profile picture.
- I need to store a number of images for each user.
- a user can create a post, and the post may have an image.
- The hero section of the app may have a dynamic image that the admin can change.
- I need to store a number of images for each activity 'activity is a table to hold some info about an activity' created.
14 replies
DTDrizzle Team
•Created by Anas Badran on 8/17/2024 in #help
conditional unique constraint
I want each person to have only one primary phone number, but also have as many as they want non-primary phone numbers
21 replies