PostgresQL 字符串隐式转换JSON脚本: -- 隐式将varchar转换为json CREATE OR REPLACE FUNCTION json_in_varchar(varchar) RETURNS json AS $$ SELECT json_in($1::cstring); $$ LANGUAGE SQL IMMUTABLE; DROP CAST IF EXISTS (v... Read More
posted @ 2017-03-21 16:23 庚武 Views(7857) Comments(0) Diggs(0) Edit