Skip to content

Wrong type returned on datetime. #20

@spapas

Description

@spapas

Hello, I've got a table with a "created_on" datetime NOT NULL column. When I read it I get:

(ql:quickload 'sqlite)
(defvar *db* (sqlite:connect "db.sqlite3"))
(format t "~A" (type-of (sqlite:execute-single *db* "select created_on from apps_app")))

=> (SIMPLE-ARRAY CHARACTER (26))

It returns a string instead of a temporal type!

Any idea why this library doesn't return the correct type for the column?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions