You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-13 00:10:37 +02:00
Chore: Migrate SQL queries in preparation for web support (#10670)
This commit is contained in:
@ -91,7 +91,7 @@ export default class NoteResource extends BaseModel {
|
||||
FROM note_resources
|
||||
LEFT JOIN notes
|
||||
ON notes.id = note_resources.note_id
|
||||
WHERE resource_id IN ("${resourceIds.join('", "')}") AND is_associated = 1
|
||||
WHERE resource_id IN ('${resourceIds.join('\', \'')}') AND is_associated = 1
|
||||
`);
|
||||
|
||||
const output: Record<string, NoteEntity[]> = {};
|
||||
|
Reference in New Issue
Block a user