UPDATE reduce size of common code
UPDATE
ADD direct MySQL encode/decode user data

Now no need think about  used data type with database.
All IO autimatic encode and decode your data as data, arrays and may be
other