Skip to content

Commit

Permalink
Fixed support for PostgreSQL
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasinsaurralde committed Oct 24, 2021
1 parent d59c0b9 commit 7fdc146
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions storage/postgres/transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@ func (s *PGStore) FindTransactions(q query.Query) (query.Cursor, error) {
))
}

if q.HasParam("reference") {
in.Where(
in.Equal("reference", q.Params["reference"]),
)
}

sb := sqlbuilder.NewSelectBuilder()
sb.Select(
"t.id",
Expand Down

0 comments on commit 7fdc146

Please sign in to comment.