branch: elpa/emacsql commit 35676bb56080f21d3b21de5d2a79df04af7722bc Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@nullprogram.com>
Fix README examples. --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9c4f4f610d..9dc13cea30 100644 --- a/README.md +++ b/README.md @@ -85,21 +85,27 @@ concatenate them with a dash, e.g. `CREATE TABLE` becomes * `:create-table <ident> <schema>` +Provides `CREATE TABLE`. + ex. [:create-table employees [name (id integer :primary) (salary float)]] * `:drop-table <ident>` +Provides `DROP TABLE`. + ex. [:drop-table employees] * `:select <column-spec>` - ex. [:select [name (/ salary 52)] ...] +Provides `SELECT`. `column-spec` can be a `*` symbol or a vector of +column identifiers, optionally as expressions. -`column-spec` can be a `*` symbol or a vector of column identifiers, -optionally as expressions. + ex. [:select [name (/ salary 52)] ...] * `:from <ident>` +Provides `FROM`. + ex. [... :from employees] ### Templates