query = IO.gets("search: ") |> String.trim()
notes = NervesLivebook.Notes.all() |> Enum.filter(&String.contains?(&1.text, query))
Kino.DataTable.new(notes)
Created
October 26, 2021 10:02
-
-
Save zorbash/aff21ac049a0c9fdba5016814dfda3aa to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment