Skip to content

Commit

Permalink
feat: expand the queries
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroLanaspa committed Oct 23, 2024
1 parent 309d73a commit 88d3e1b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion crates/proof-of-sql/examples/movies/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,13 @@ fn main() {
&accessor,
&prover_setup,
&verifier_setup,
);
);

// Query 2: Find the top 5 highest-rated movies
prove_and_verify_query(
"SELECT title, rating FROM movies ORDER BY rating DESC LIMIT 5",
&accessor,
&prover_setup,
&verifier_setup,
);
}

0 comments on commit 88d3e1b

Please sign in to comment.