cl-dbi icon indicating copy to clipboard operation
cl-dbi copied to clipboard

Database independent interface for Common Lisp

Results 25 cl-dbi issues
Sort by recently updated
recently updated
newest added
trafficstars

``` (let* ((pq (dbi:prepare conn "SELECT * FROM visit")) (query (dbi:execute pq nil))) (dbi:fetch-all query)) ``` above code run in hunchentoot will lead to memory leak in MySQL https://blog.actorsfit.in/a?ID=01800-28830ddf-a436-4fff-b97d-d952487c8948 the...

Hi! Looking at `(defgeneric retrieve-by-sql (sql &key binds)` it seems that `:binds` can be `&optional` instead of a key param: ```lisp (mito:retrieve-by-sql "select * from users where email = $1"...

One stupid question: with **PostgreSQL**, how would you get the id of the newly created record? ```SQL (with-connection (db :school) (execute (insert-into :students (set= :last_name "Uzumaki" :first_name "Naruto" :address "Ever...

Because of that, Ultralisp sometimes fails with this error: ``` failed AVER: (= (HASH-TABLE-COUNT SB-IMPL::TABLE) SB-IMPL::HWM) This is probably a bug in SBCL itself. (Alternatively, SBCL might have been corrupted...

Would it be possible to add something like: [https://rdrr.io/cran/DBI/man/dbExistsTable.html](dbExistsTable) ? thanks!

It's nice that there's a higher performance version of execute now, but this could have been done by adding a new function and preserving the old behavior. Now I have...

How could I do this query (from PostgreSQL SQL dialect)? ```SQL SELECT * FROM student ORDER BY id DESC LIMIT (20-10+1) OFFSET 10; ```

I have the following issue: ``` (dbi:with-connection (con :postgres :username "test" :database-name "test") (dbi:execute (dbi:prepare con "SELECT a, b FROM T WHERE c = ? AND a IN ? AND")...

I'm still in the process of tracking things down, but my code used to work before: ``` 02d7b41 | * | @ Refactored the way how transactions and savepoints are...