mirror of
https://github.com/zhaofengli/attic.git
synced 2025-03-31 04:04:36 +00:00
rustfmt
This commit is contained in:
parent
8f1916b5cc
commit
a2bc969594
1 changed files with 2 additions and 1 deletions
|
@ -121,7 +121,8 @@ pub fn build_cache_object_nar_query(include_chunks: bool) -> Select<Object> {
|
|||
query = prefix_column::<nar::Entity, _>(query, SELECT_NAR);
|
||||
|
||||
if include_chunks {
|
||||
query = query.join(JoinType::InnerJoin, nar::Relation::ChunkRef.def())
|
||||
query = query
|
||||
.join(JoinType::InnerJoin, nar::Relation::ChunkRef.def())
|
||||
.join(JoinType::LeftJoin, chunkref::Relation::Chunk.def())
|
||||
.order_by_asc(chunkref::Column::Seq);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue