I'm using the findOrCreate waterline model function. According to the documentation here, It checks for the existence of the record in the first parameter. If it can't be found, the record in the second parameter is created. Is there any way to know whether it was created or found?
My use-case is to decide if it was conflict ( if the record already exists ) or created in the database.