Hi everybody,
I would like to know how can I insert data which can be a Map, String, List, Integer, Float in a jsonb PostgresSQL column ?
PostgreSQL is capable of doing such insertion in a jsonb field. I would like to find a way where Ecto (as an ORM) let me do this. Because currently my field is:
field(:data, :map) and it does not work when I try to insert: "toto" or 12 or [1,2]. And I have no other options, As I do not decide which type of data I’m receiving. Thanks ![]()






















