emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/emacsql 45ac14390a 239/427: Fix up emacsql.el header to ma


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql 45ac14390a 239/427: Fix up emacsql.el header to match new syntax.
Date: Tue, 13 Dec 2022 02:59:48 -0500 (EST)

branch: elpa/emacsql
commit 45ac14390a75dccba404ac60540219fd2c9049e3
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>

    Fix up emacsql.el header to match new syntax.
---
 emacsql.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/emacsql.el b/emacsql.el
index a48bc5f0f6..fc0d415836 100644
--- a/emacsql.el
+++ b/emacsql.el
@@ -27,11 +27,11 @@
 ;; database. Identifiers for tables and columns are symbols. SQL
 ;; keywords are lisp keywords. Anything else is data.
 
-;;     (emacsql db [:create-table people [name id salary]])
+;;     (emacsql db [:create-table people ([name id salary])])
 
 ;; Column constraints can optionally be provided in the schema.
 
-;;     (emacsql db [:create-table people [name (id integer :unique) salary]])
+;;     (emacsql db [:create-table people ([name (id integer :unique) salary])])
 
 ;; Insert some values.
 
@@ -46,11 +46,11 @@
 ;;     (emacsql db [:select [name id] :from employees :where (> salary 60000)])
 ;;     ;; => (("Susan" 1001))
 
-;; Queries can be templates -- $1, $2, etc. -- so they don't need to
+;; Queries can be templates -- $i1, $s2, etc. -- so they don't need to
 ;; be built up dynamically:
 
 ;;     (emacsql db
-;;              [:select [name id] :from employees :where (> salary $1)]
+;;              [:select [name id] :from employees :where (> salary $s1)]
 ;;              50000)
 ;;     ;; => (("Jeff" 1000) ("Susan" 1001))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]