Writing a SQL database from scratch in Go: 2. binary expressions and WHERE filters

from blog Notes on software development, | ↗ original
Previously in database basics: 1. SELECT, INSERT, CREATE and a REPL Next in database basics: 3. indexes 4. a database/sql driver In this post, we'll extend gosql to support binary expressions and very simple filtering on SELECT results via WHERE. We'll introduce a general mechanism for interpreting an expression on a row...