We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1086ca2 commit 8a85d07Copy full SHA for 8a85d07
src/filesystem.rs
@@ -227,7 +227,7 @@ impl DbFsQueries {
227
db_kind: AnyKind,
228
) -> anyhow::Result<AnyStatement<'static>> {
229
let exists_query = format!(
230
- "SELECT 1 from sqlpage_files WHERE path = {} LIMIT 1",
+ "SELECT 1 from sqlpage_files WHERE path = {}",
231
make_placeholder(db_kind, 1),
232
);
233
let param_types: &[AnyTypeInfo; 1] = &[<str as Type<Postgres>>::type_info().into()];
0 commit comments