I'm trying to get the default value of the avatar of the User model so I may check if it's appropriate to delete the user's current avatar.
How would one get the default value 'd' of an attribute 'a' of a model 'm'?
I've tried using the modelsManager to execute a DESCRIBE modelName query but it returned nothing. I've also tried $def = $this->modelsManager->executeQuery("SELECT DEFAULT(avatar
) FROM (SELECT 1) AS dummy LEFT JOIN User ON True LIMIT 1"); But that returns a Unexpected token near error.