mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-10-29 23:32:35 +01:00
parent
59e780dbc0
commit
ef683f0321
@ -17,7 +17,6 @@ class Day < Sequel::Model
|
||||
Sequel.lit('rates.key').as(:iso_code),
|
||||
Sequel.lit('rates.value::text::float').as(:rate))
|
||||
.join(Sequel.function(:jsonb_each, :rates).lateral.as(:rates), true)
|
||||
.order(Sequel.asc(:date), Sequel.asc(:iso_code))
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user