Hey! When querying the database, I am wanting to have all my data shown when returned, and right now I can only see some of it. It it gives me [...] instead
This is my database search tool:
def database_search_tool(fruit) do
for x ← from(s in StandardHotel, select: s.fruits) |> Repo.all(timeout: :infinity) do
x |> Enum.filter(&String.contains?(&1, fruit))
end
end
And this is an example of what I might get back. I don’t want [...] I want to see what’s in the database.
iex(13)> Amenities.database_search_tool(“Apple”)
[
[“Apple, Banana, Orange”, “Apples”,
“Apples are the best”, “I ate an Apple for breakfast”, “Grateful for Apples”,
…],
[…],
…
]
Thanks! ![]()






















