fix visual
This commit is contained in:
parent
7eb4977b99
commit
30a7f1b68c
3 changed files with 171 additions and 33 deletions
|
|
@ -12,7 +12,7 @@ select i.id, c_base.symbol, c_quote.symbol
|
|||
from instrument i
|
||||
join currency c_base on c_base.id = i.base_currency_id
|
||||
join currency c_quote on c_quote.id = i.quoted_currency_id
|
||||
order by i.id
|
||||
order by i.id desc
|
||||
offset $1 limit $2`
|
||||
|
||||
func (p *Postgresql) InstrumentList(ctx context.Context, offset, limit int) ([]entities.Instrument, error) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue