halostatue

halostatue

SQLToy in Elixir

I wanted to share an exercise I did that I found useful for refining my knowledge of SQL internal implementations and list comprehensions: GitHub - halostatue/sqltoy_elixir

This is an Elixir implementation of Joshua Weinberg’s SQLToy which is an exploration of how to implement the logic behind core SQL behaviours using in-memory data structures. I found it very useful for becoming more comfortable with Elixir list comprehensions as I implemented it (I implemented with Enum.reduce/3 and converted later to list comprehensions).

Be sure to read the upstream SQLToy Wiki when comparing the implementations.

Where Next?

Popular in Other Resources Top

D4no0
This is a little bit offtopic. I would like to make a relative UI renderer (similar to the ones present on maket: android, IOS, WPF) for...
New
ErlangSolutions
This month, we’re launching an in-depth 3-part webinar series on API design hosted by Bruce Tate. Bruce’s knowledge of, and love for Eli...
New
ErlangSolutions
Hey everyone, We hope you are all safe and well. We have a very exciting new webinar to announce for you. You can register at https://w...
New
ErlangSolutions
This month we’re excited to host Tyr Chen, VP of Engineering at ArcBlock, on our webinar. ArcBlock are founding sponsors of the Erlang E...
New
sergio
I always wanted to create my own course and share things I’ve learned with the community at large. I wouldn’t be where I am if not for th...
New
New
ambareesha7
there are lot of learning resources and blogs are available but they scattered across, so i’m trying to pooling them in this repo. pleas...
New
theodore
Hello, Like many people on Earth, I’ve been trying to understand the transformer architecture. I translated the Python code in Let's bui...
New
danschultzer
TLDR This repo got all Terraform IaC files to setup AWS ECS for Elixir apps that includes web server(s) and database. It includes auto d...
New
pepicrft
Hi there :waving_hand: I’m the co-founder of Tuist a toolchain to help Apple developers be more productive and ship better apps. We star...
New

Other popular topics Top

sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
quazar
How to set Jason to encode all fields in ecto schema, I don’t care about security and implementing only is taking long list of attributes...
New
jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set? Thanks.
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
fireproofsocks
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? https://hexdocs.pm/ecto/Ecto.Repo.h...
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New

We're in Beta

About us Mission Statement