3 ms·
> It looks like you are doing SQL statement in just a method signature, which is just insane. Aside from the `where` keyword, I don't see much similarity with
by d35007 5y ago
> It looks like you are doing SQL statement in just a method signature, which is just insane.
Aside from the `where` keyword, I don't see much similarity with SQL. That said, I'm a big fan of SQL, so I might be blind to the issue.
Several other people have already said it, but I find that definition pretty easy to read, and I've never been paid to write a line of Swift. The most confusing part for me was the fact that the argument names seem to have spaces in them. The type constraints look pretty nice to me, to be honest.