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

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

[nongnu] elpa/emacsql 89654ad76b 211/427: Add identifier note.


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql 89654ad76b 211/427: Add identifier note.
Date: Tue, 13 Dec 2022 02:59:43 -0500 (EST)

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

    Add identifier note.
---
 README.md | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index bf3fd03bf5..3a21197ea6 100644
--- a/README.md
+++ b/README.md
@@ -73,6 +73,9 @@ can either be just this symbol or it can include constraints. 
Because
 Emacsql stores entire lisp objects as values, the only relevant (and
 allowed) types are `integer`, `float`, and `object` (default).
 
+Dashes in identifiers are converted into underscores when compiled
+into SQL. This allows for lisp-style identifiers to be used in SQL.
+
 Columns constraints include `:primary` (aka `PRIMARY KEY`),
 `:autoincrement`, `:unique`, `:non-nil` (aka `NOT NULL`), `:default`,
 `:check`, and `:references` (foreign key).
@@ -392,7 +395,7 @@ Provides `COMMIT` and `ROLLBACK`.
 Provides `PRAGMA`.
 
 ```el
-(emacsql db [:pragma (= foreign_keys on)])
+(emacsql db [:pragma (= foreign-keys on)])
 ```
 
 ##### :vacuum



reply via email to

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