K
K
Ken Jee2016-10-04 15:30:15
PostgreSQL
Ken Jee, 2016-10-04 15:30:15

How to query a PostgreSQL database in Yii2 using find() with a bitwise operation?

There is a SQL query: How to implement it through the find () method of the model?
select * from "table" where "field" | 20 = 20

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question