Articles by tag "Gorm"

April 7, 2020

Filtering by a list of values with GORM

When you need to filter data by a list of values (for example, IDs: 1, 2, 3), you should use the ANY operator combined with pq.Array from the PostgreSQL driver.

Read More → Gorm Sql Postgresql
March 30, 2020

GORM: filter entity by linked entity

This task is not that simple, especially with GORM.

Read More → Gorm Sql Postgresql