cbaker6, so sorry on the bool, it was my fault, cs101 mistake, but I do have one more question.
I am doing this:
@ObservedObject var wordsWordViewModel = Word.query(WordKey.isActiveButton == true,
WordKey.cgsUser == User.current)
.includeAll()
.order([.ascending(WordKey.buttonOrder)])
.viewModel
The WordKey.cgsUser is a pointer to a user in the User collection. If I remove that line the bool works, I fixed that issue, but now when I add the pointer to user so I can pull only the records for that user, it does not match. I added .includeAll so it would include the User collection.
What am I doing wrong with this one?
However, on a good note, I have a better understanding of it now, so hopefully the pointer matches are my last crazy questions.
Thanks for the help!!