Postgresql Create Array Js Functions Explained In Python