Assigning mysql functions at field level
Posted: Wed Feb 28, 2007 4:54 pm
Is it possible to assign a mysql function at the field level of a table? Say for example I wanted to encrypt all data that is inserted into a particular field with aes_encrypt(), instead of simply using this in the insert, it could be cool if you could just set it to always use that on any data inserted into that field...