2 ms·
a really simple integration test Or even a basic design review. Fields that can't be used computationally should never be stored as if they were attribute-fre
by DrScump 10y ago
a really simple integration test
Or even a basic design review.
Fields that can't be used computationally should never be stored as if they were attribute-free integers. Not only for this risk, but in the specific case of phone numbers, there is positional importance to specific digits (e.g. country code, area/region code, etc.) requiring that left-justification be maintained and zero-padding avoided.
- prodigal_erik 10y agoThe way I read it, the database driver quietly decided to convert any string that looks like a number, without any encouragement from their app.