Postgres Json Functions Mysql Database