okay, breaks the relationship model but it’s a really simple data model
so doesn’t need too much about it.
here’s my structure, I have a notes model containing…
name, date, category
so each note will have it’s own, name, date and category (with some of
the categories being the same, hence sort by…)
now i could sort by category easier by having the category stored within
it’s own model, but for this experiment i’d like it within the same
table as the notes.
how would i sort them fast and get all the notes related to categories
which are the same…
name: test, cat:aaa
name: ddd, cat:aaa
name: more stuff, cat:bbb
name: testing, cat:bbb