Ultra Black MAAH
Ultra Black MAAH
DTDrizzle Team
Created by Ultra Black MAAH on 5/11/2024 in #help
notNull(); in a specific condition
I wanna make an attribute that is notNull in a specific condition using typeScript Let's say we have a userTable for a user that might be an ordinary user that has only firstname and lastname required and a user that can be a business owner or something so we'll need more data that can't be required just like the company's name or number All i wanna do is to make these specific data reuiqred in a specific condition
1 replies