maybe fix sql generation

This commit is contained in:
mertalev
2025-05-12 17:21:01 -04:00
parent e851884f88
commit 34f72a8251
3 changed files with 15 additions and 17 deletions
+9 -3
View File
@@ -65,6 +65,8 @@ limit
-- SearchRepository.searchSmart
begin
set
local vchordrq.probes = 1
select
"assets".*
from
@@ -84,10 +86,12 @@ limit
$7
offset
$8
rollback
commit
-- SearchRepository.searchDuplicates
begin
set
local vchordrq.probes = 1
with
"cte" as (
select
@@ -115,10 +119,12 @@ from
"cte"
where
"cte"."distance" <= $7
rollback
commit
-- SearchRepository.searchFaces
begin
set
local vchordrq.probes = 1
with
"cte" as (
select
@@ -144,7 +150,7 @@ from
"cte"
where
"cte"."distance" <= $4
rollback
commit
-- SearchRepository.searchPlaces
select