У нас вы можете посмотреть бесплатно Craft your domain-specific query language with NimbleParsec and Ecto - R. Binetti | Code BEAM Europe или скачать в максимальном доступном качестве, которое было загружено на ютуб. Для скачивания выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса savevideohd.ru
"✨This talk was recorded at Code BEAM Europe 2023. If you're curious about our upcoming event, check https://codebebeameurope.com ✨ Imagine you want to ask your API ""List all devices which are not located in Europe and are currently connected or are either tagged 'maintenance' or 'retired'"". Expressing this kind of selection with query parameters quickly becomes unwieldy, and even a more structured query language like GraphQL can feel clunky to express this, especially if the target user is not a technical one. Ideally, we'd want users to be able to write something like: (not attributes[""continent""] == ""EU"") and (connected or (""maintenance"" in tags or ""retired"" in tags)) In this talk I will show you how this can be achieved with the power of Elixir, NimbleParsec and Ecto. We will use NimbleParsec to parse the domain-specific language into an Abstract Syntax Tree represented using Elixir structs, and then we will traverse that AST to produce a valid query using the power of Ecto dynamic queries. Let's keep in touch! Follow us on: 💥 Twitter: / codebeamio 💥 Facebook: / codesyncglobal 💥 Linkedin: / code-sync 💥 Mastodon: https://genserver.social/codesync "