Skip to content

Commit

Permalink
more order by
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe committed Feb 17, 2023
1 parent 5ed0a7f commit 7f57b68
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/data/uta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,9 @@ impl Interface for Provider {
tx_ac: &str,
) -> Result<Vec<super::TxSimilarityRecord>, anyhow::Error> {
let sql = format!(
"SELECT * FROM {}.tx_similarity_v WHERE tx_ac1 = $1",
"SELECT * FROM {}.tx_similarity_v \
WHERE tx_ac1 = $1 \
ORDER BY tx_ac1, tx_ac2",
self.config.db_schema
);
let mut result = Vec::new();
Expand Down

0 comments on commit 7f57b68

Please sign in to comment.