如何转换integer[]为jsonb?
integer[]
jsonb
declare ids int[]; declare jsonids jsonb; jsonids := array(select id from student); -- what should I do here?
sql postgresql plpgsql jsonb
jsonb ×1
plpgsql ×1
postgresql ×1
sql ×1