reinterpret_cast<int*>(ptr) = -1
Explore posts from serverssend an email after creating a record
as title says , i want to send an email after creating a record , for example after creating a user via filament admin panel i want to notify the user via email about his new account ( simple example and similar to what i need )
9 replies
PPrisma
•Created by reinterpret_cast<int*>(ptr) = -1 on 5/22/2024 in #help-and-questions
user not saving on mongodb but works fine with mysql
hi , i was using mysql and switched to test mongodb , followed the docs on mongodb and my User model looks as follow now :
and this is my controller ( using express and ts ):
i'm sure the code is fine but still i have no idea what's going on wrong in here , i did push and generate my prisma and i see the tables fine in my mongodb compass
any help is appreciated
4 replies
Attempted import error: 'hashQueryKey' is not exported from '@tanstack/react-query' issue
i'm getting this error while trying trpc with latest next version , i tried downgrading but got another error
Error: (0 , react__WEBPACK_IMPORTED_MODULE_3__.createContext) is not a function
2 replies
draggable content
guys i want to create draggable content to be reordered in my crud , is there a way to achieve this? , like i want to display my categories as a tree ( see image ) to be reordered and save all the id's of categories that are available in the tree ( can delete only the image is just to show what i want to achieve )
any help is appreciated
3 replies
how to save user_id on create and limit records per user
as the title says , i want to save current logged in user_id when i save a form that will associated with the user
and how to limit user to create one only record , for example a user will create a business profile , i want him to be only able to create only one business profile not as many as he wants
15 replies