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

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

[nongnu] elpa/emacsql 8a7a3d1003 1/3: Remove usage information from libr


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql 8a7a3d1003 1/3: Remove usage information from library commentary
Date: Mon, 19 Aug 2024 12:59:43 -0400 (EDT)

branch: elpa/emacsql
commit 8a7a3d1003f4e319299f93bf42224f048bb22949
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>

    Remove usage information from library commentary
---
 emacsql.el | 42 ------------------------------------------
 1 file changed, 42 deletions(-)

diff --git a/emacsql.el b/emacsql.el
index c3a2135fcf..0f14b57f8c 100644
--- a/emacsql.el
+++ b/emacsql.el
@@ -18,48 +18,6 @@
 ;; databases. On MELPA, each of the backends is provided through
 ;; separate packages: emacsql-sqlite, emacsql-psql, emacsql-mysql.
 
-;; Most EmacSQL functions operate on a database connection. For
-;; example, a connection to SQLite is established with
-;; `emacsql-sqlite'. For each such connection a sqlite3 inferior
-;; process is kept alive in the background. Connections are closed
-;; with `emacsql-close'.
-
-;;     (defvar db (emacsql-sqlite "company.db"))
-
-;; Use `emacsql' to send an s-expression SQL statements to a connected
-;; 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])])
-
-;; Column constraints can optionally be provided in the schema.
-
-;;     (emacsql db [:create-table people ([name (id integer :unique) salary])])
-
-;; Insert some values.
-
-;;     (emacsql db [:insert :into people
-;;                  :values (["Jeff"  1000 60000.0] ["Susan" 1001 64000.0])])
-
-;; Currently all actions are synchronous and Emacs will block until
-;; SQLite has indicated it is finished processing the last command.
-
-;; Query the database for results:
-
-;;     (emacsql db [:select [name id] :from employees :where (> salary 60000)])
-;;     ;; => (("Susan" 1001))
-
-;; 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 $s1)]
-;;              50000)
-;;     ;; => (("Jeff" 1000) ("Susan" 1001))
-
-;; The letter declares the type (identifier, scalar, vector, Schema)
-;; and the number declares the argument position.
-
 ;; See README.md for much more complete documentation.
 
 ;;; Code:



reply via email to

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