I'm using https://github.com/stephencelis/SQLite.swift to implement SQLite in swift. I read through the documentation but couldn't find what's the return type for filter specifically here https://github.com/stephencelis/SQLite.swift/blob/master/Documentation/Index.md#filtering-rows
The reason I'm asking is because I have a table called userTable containing all usernames, emails... of all users, but how can I lookup if a specific user exist?
For the filter function, I have no idea what Table.filter return type is if there is nothing found that's matching the condition.
Specifically if "bob01" is not in the table then what would
table.filter(username=="bob01")
return?
Thanks!