O
O
Oklick2016-12-01 18:00:53
PostgreSQL
Oklick, 2016-12-01 18:00:53

How to work with jsonb (postgreSQL) through Yii2?

Good day.
There is a project written in Yii2 and a database (PostgreSQL) that has quite a few fields in jsonb format. Tell me, in order to comfortably interact with them through the framework, are there any ready-made libraries or will you have to write SQL code directly in Yii2? An internet search turned up nothing good. Thanks in advance for your replies.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Максим Федоров, 2016-12-02
@qonand

Подскажите, для того, что бы с ними комфортно взаимодействовать через фреймворк есть какие то готовые библиотеки или SQL код придется писать прямо в Yii2?

It all depends on what you will do with it. You need to understand that there are tasks for which the capabilities of the query builder are quite enough, and if its capabilities are not enough, you can always write a query in pure SQL

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question