[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql b447994514 033/427: Change table type recommendati
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/emacsql b447994514 033/427: Change table type recommendation. |
Date: |
Tue, 13 Dec 2022 02:59:25 -0500 (EST) |
branch: elpa/emacsql
commit b4479945141462bad282f4b81ddf397c01986705
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>
Change table type recommendation.
---
README.md | 8 ++++----
emacsql.el | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 3f26389b00..f288c265ee 100644
--- a/README.md
+++ b/README.md
@@ -19,17 +19,17 @@ Requires Emacs 24 or later.
(defvar db (emacsql-connect "company.db"))
;; Create a table. A table identifier can be any kind of lisp value.
-(emacsql-create db :employees [name id salary])
+(emacsql-create db 'employees [name id salary])
;; Or optionally provide column constraints.
-(emacsql-create db :employees [name (id integer :unique) (salary float)])
+(emacsql-create db 'employees [name (id integer :unique) (salary float)])
;; Insert some data:
-(emacsql-insert db :employees ["Jeff" 1000 60000.0]
+(emacsql-insert db 'employees ["Jeff" 1000 60000.0]
["Susan" 1001 64000.0])
;; The high-level SELECT interface is a work in progress.
-(emacsql-select-raw db (concat "SELECT name, id FROM ':employees' "
+(emacsql-select-raw db (concat "SELECT name, id FROM employees "
"WHERE salary > 60000;"))
;; => (("Susan" 1001))
```
diff --git a/emacsql.el b/emacsql.el
index fa75f38ef5..4e2dcb3eec 100644
--- a/emacsql.el
+++ b/emacsql.el
@@ -24,7 +24,7 @@
;; habits! :-)
;; Table identifiers can be any lisp object: string, symbol, etc. I
-;; suggest using a keyword. Use `emacsql-create' to create a table.
+;; suggest using a symbol. Use `emacsql-create' to create a table.
;; (emacsql-create db :employees [name id salary])
- [nongnu] elpa/emacsql c92c56ce55 003/427: Add a close buffer sentinel., (continued)
- [nongnu] elpa/emacsql c92c56ce55 003/427: Add a close buffer sentinel., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 1a84c983cf 013/427: No named results by default., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 76a430032e 014/427: Fix up old test., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 36c6aae4b5 042/427: Drop raw select., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 77ae713186 046/427: Create table expander., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql e859204451 064/427: Flesh out more README., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 35676bb560 065/427: Fix README examples., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 847f3bd87f 078/427: Add new keywords to listing., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql a9b9d6bfc8 083/427: Fix typo in README., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 29f65b3b8e 093/427: Update Windows statement in the README., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql b447994514 033/427: Change table type recommendation.,
ELPA Syncer <=
- [nongnu] elpa/emacsql 4fa57ba758 051/427: Fully drop named parsing., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 7c572d688d 052/427: Fix % operator situation., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 84499878d0 081/427: Add :union, :union-all, :difference, and :except., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql a1ce9f16f2 097/427: Add emacsql-with-connection back in., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 7cfed08ab8 099/427: Add docstring to emacsql--log., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql da9797e948 098/427: Add a system-level test., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql bd6e02db55 104/427: Be much more strict with identifiers., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 682c1816fb 111/427: Add optional font-locking., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 3eb06cdd73 114/427: Add GROUP BY expander., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql e08094c78f 058/427: More precise parsing., ELPA Syncer, 2022/12/13