Closed austinmilt closed 2 years ago
Fine for speed writing the queries as sql strings but doing them through diesel dsl helps ensure further updates don't break the query as the type system validates the queries. I think all these queries are supported by diesel.
Great point! I was thinking I needed GROUP BY
which diesel doesnt support, but since it's just a single collection, the GROUP BY
shouldnt be necessary. I'll refactor
This PR adds three new fields to the
Collection
object to support collection display in the marketplace.Usage
Changes
collections.rs
,nft.rs
)collections.rs
,nft.rs
)collections.rs
,nft.rs
)