▲ | 0xbadcafebee 16 hours ago | |||||||
`select *` is bad for many reasons, but the biggest is that the "contract" your code has with the remote data store isn't immutable. The database can change, for many different reasons, independent of your code. If you want to write reliable code, you need to make as few assumptions as possible. One of those assumptions is what the remote schema is. | ||||||||
▲ | hvb2 15 hours ago | parent [-] | |||||||
Sure but columns can change data types too which 'select column's doesn't protect you from either | ||||||||
|