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 6354de0 commit 49a1245Copy full SHA for 49a1245
Example/NotesExample-macOS/AppDelegate.swift
@@ -43,7 +43,7 @@ class AppDelegate: NSObject, NSApplicationDelegate {
43
logger.append("\(allWritingNotes.readableDescription)\n")
44
45
logger.append("Reading notes containing 'writing' by Peter Brett:")
46
- let peterBrettsWritingNotes = noteBox.query { Note.text.contains("writing") && Note.authorId == peterBrett.id }.find()
+ let peterBrettsWritingNotes = noteBox.query { Note.text.contains("writing") && Note.author == peterBrett.id }.find()
47
logger.append("\(peterBrettsWritingNotes.readableDescription)\n")
48
49
logger.append("Looking into Peter Brett's current object state again ...")
0 commit comments