Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Created extension with plpgsql functions #4
I watched your talk from DevDay Poland and found it very informative! So I took up your request/challange to create this API in plpgsql. I'd been meaning to learn more about jsonb and this seemed a good project to do so.
Below are notes about the individual functions and how I changed things.
There's no explicit string conversions. I just leave it in the jsonb data type and output jsonb from all functions that output json as well. I do use jsonb_each(), but the docs say that only converts the key names to text, not the values.