How does this work?
query = from u in "users",
where: u.age > 18,
select: u.name
I get that from is a macro, which essentially takes two arguments:
query = from(u in "users",
[where: u.age > 18,
select: u.name])
which makes it more mysterious. u in "users" what does it do? The keyword list has u.age, where does the u come from? How is throwing u not defined exception?
The macro based syntax is also suprising:
"users"
|> where([u], u.age > 18)
|> select([:name])
How does where([u], u.age > 18) not fail with u not defined?


















