Hello, I’m pretty new with Ecto and SQL, there is a elegent way to get a bunch of table 's records with Ecto or/and SQL ?
example:
+---------------+-----------------+---------------+
| FirstName | LastName | Nickname |
+---------------+-----------------+---------------+
| Ben | Smith | Brainiac |
| Glen | Jones | Peabrain |
| Jen | Peters | Sweetpea |
| Steven | Griffin | Nobraine |
+---------------+----------------+----------------+
from u in User,
where: u.FirstName == "Blen" or u.FirstName == "Jen" or u.FirstName == "Steven"
There is a way less redundant ?
Thx