Suggestion
Allow empty array in createAll method
Use Cases
Ass when we pass empty array in createAll within a transaction then it gives error and transaction fails, thus failing the whole operation.
error thrown is -> The data argument must be an array with length > 0