The datafly Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The datafly Reference Manual

This is the datafly Reference Manual, version 0.1, generated automatically by Declt version 2.3 "Robert April" on Tue Jan 09 14:26:40 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

datafly

Build Status

Datafly is a lightweight database library for Common Lisp.

Quickstart

Datafly provides 3 functions which wrap CL-DBIretrieve-one, retrieve-all and execute.

They take a SxQL statement.

(use-package :sxql)

(connect-toplevel :sqlite3 :database-name #P"myapp.db")

(retrieve-one
  (select :*
    (from :user)
    (where (:= :name "nitro_idiot"))))
;=> (:ID 1 :NAME "nitro_idiot" :EMAIL "nitro_idiot@example.com" :REGISTERED-AT "2014-04-14T19:20:13")

(retrieve-all
  (select :*
    (from :user)))
;=> ((:ID 1 :NAME "nitro_idiot" :EMAIL "nitro_idiot@example.com" :REGISTERED-AT "2014-04-14T19:20:13")
;    (:ID 2 :NAME "m2ym" :EMAIL "m2ym@example.com" :REGISTERED-AT "2014-04-15T01:03:42"))

(execute
 (insert-into :tweet
   (set= :id 1
         :user_id 1
         :body "Hi."
         :created_at (princ-to-string *now*))))

If you specify :as option with a class name to retrieval functions, they create instances of the class for each rows.

(defstruct user
  id
  name
  email
  registered-at)

(retrieve-one
  (select :*
    (from :user)
    (where (:= :name "nitro_idiot")))
  :as 'user)
;=> #S(USER :ID 1 :NAME "nitro_idiot" :EMAIL "nitro_idiot@example.com" :REGISTERED-AT "2014-04-14T19:20:13")

(retrieve-all
  (select :*
    (from :user))
  :as 'user)
;=> (#S(USER :ID 1 :NAME "nitro_idiot" :EMAIL "nitro_idiot@example.com" :REGISTERED-AT "2014-04-14T19:20:13")
;    #S(USER :ID 2 :NAME "m2ym" :EMAIL "m2ym@example.com" :REGISTERED-AT "2014-04-15T01:03:42"))

The structure doesn't require having slots same as an existing table's in a database. It is acceptable even if the names are different. This might be convenient when you'd like to treat a JOINed table result as a structure object.

Model Definitions

Datafly provides a macro defmodel which defines a flavored structure class.

(defmodel (user (:inflate registered-at #'datetime-to-timestamp))
  id
  name
  email
  registered-at)


;; Same as the above.
(syntax:use-syntax :annot)

@model
(defstruct (user (:inflate registered-at #'datetime-to-timestamp))
  id
  name
  email
  registered-at)

(:inflate <columns> <inflation-function>) options mean inflation-function will be applied to each <columns> when creating an instance.

(defvar *user*
  (retrieve-one
    (select :*
      (from :user)
      (where (:= :name "nitro_idiot")))
    :as 'user))

;; Returns a local-time:timestamp.
(user-registered-at *user*)
;=> @2014-04-15T04:20:13.000000+09:00

defmodel also allows :has-a and :has-many options.

(use-package :sxql)

(defmodel (user (:inflate registered-at #'datetime-to-timestamp)
                (:has-a config (where (:= :user_id id)))
                (:has-many (tweets tweet)
                 (select :*
                   (from :tweet)
                   (where (:= :user_id id))
                   (order-by (:desc :created_at)))))
  id
  name
  email
  registered-at)

(defvar *user*
  (retrieve-one
    (select :*
      (from :user)
      (where (:= :name "nitro_idiot")))
    :as 'user))

(user-config *user*)
;=> #S(CONFIG :ID 4 :USER-ID 1 :TIMEZONE "JST" :COUNTRY "jp" :LANGUAGE "ja")

(user-tweets *user*)
;=> (#S(TWEET :ID 2 :USER-ID 1 :BODY "Is it working?" :CREATED-AT @2014-04-16T11:02:31.000000+09:00)
;    #S(TWEET :ID 1 :USER-ID 1 :BODY "Hi." :CREATED-AT @2014-04-15T18:58:20.000000+09:00))

Provided inflation functions

Tips: Getting Association List or Hash Table for each rows

retrieve-one and retrieve-all return row(s) as a property list or a list of property lists by default.

If you'd like they were other types, for example "Association List" or "Hash Table", you can do it by passing :as parameter.

(retrieve-one
  (select :*
    (from :user)
    (where (:= :name "nitro_idiot")))
  :as 'trivial-types:association-list)
;=> ((:ID . 1) (:NAME . "nitro_idiot") (:EMAIL . "nitro_idiot@example.com") (:REGISTERED-AT . "2014-04-14T19:20:13"))

(retrieve-one
  (select :*
    (from :user)
    (where (:= :name "nitro_idiot")))
  :as 'hash-table)
;=> #<HASH-TABLE :TEST EQL :COUNT 4 {1007AE3CD3}>

If no :as parameter is specified, *default-row-type* will be used.

(let ((*default-row-type* 'hash-table))
  (retrieve-all
    (select :*
      (from :user))))
;=> (#<HASH-TABLE :TEST EQL :COUNT 4 {100815FA03}> #<HASH-TABLE :TEST EQL :COUNT 4 {100815FE43}>)

See Also

Author

Copyright

Copyright (c) 2014 Eitaro Fukamachi (e.arrows@gmail.com)

License

Licensed under the BSD 3-Clause License.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 datafly

Author

Eitaro Fukamachi

License

BSD 3-Clause

Description

Lightweight database library.

Long Description

# datafly

[![Build Status](https://travis-ci.org/fukamachi/datafly.svg?branch=master)](https://travis-ci.org/fukamachi/datafly)

Datafly is a lightweight database library for Common Lisp.

## Quickstart

Datafly provides 3 functions which wrap [CL-DBI](https://github.com/fukamachi/cl-dbi) &mdash; ‘retrieve-one‘, ‘retrieve-all‘ and ‘execute‘.

They take a [SxQL](https://github.com/fukamachi/sxql) statement.

“‘common-lisp
(use-package :sxql)

(connect-toplevel :sqlite3 :database-name #P"myapp.db")

(retrieve-one
(select :*
(from :user)
(where (:= :name "nitro_idiot"))))
;=> (:ID 1 :NAME "nitro_idiot" :EMAIL "nitro_idiot@example.com" :REGISTERED-AT "2014-04-14T19:20:13")

(retrieve-all
(select :*
(from :user)))
;=> ((:ID 1 :NAME "nitro_idiot" :EMAIL "nitro_idiot@example.com" :REGISTERED-AT "2014-04-14T19:20:13")
; (:ID 2 :NAME "m2ym" :EMAIL "m2ym@example.com" :REGISTERED-AT "2014-04-15T01:03:42"))

(execute
(insert-into :tweet
(set= :id 1
:user_id 1
:body "Hi."
:created_at (princ-to-string *now*))))
“‘

If you specify ‘:as‘ option with a class name to retrieval functions, they create instances of the class for each rows.

“‘common-lisp
(defstruct user
id
name
email
registered-at)

(retrieve-one
(select :*
(from :user)
(where (:= :name "nitro_idiot")))
:as ’user)
;=> #S(USER :ID 1 :NAME "nitro_idiot" :EMAIL "nitro_idiot@example.com" :REGISTERED-AT "2014-04-14T19:20:13")

(retrieve-all
(select :*
(from :user))
:as ’user)
;=> (#S(USER :ID 1 :NAME "nitro_idiot" :EMAIL "nitro_idiot@example.com" :REGISTERED-AT "2014-04-14T19:20:13")
; #S(USER :ID 2 :NAME "m2ym" :EMAIL "m2ym@example.com" :REGISTERED-AT "2014-04-15T01:03:42"))
“‘

The structure doesn’t require having slots same as an existing table’s in a database. It is acceptable even if the names are different. This might be convenient when you’d like to treat a JOINed table result as a structure object.

## Model Definitions

Datafly provides a macro ‘defmodel‘ which defines a flavored structure class.

“‘common-lisp
(defmodel (user (:inflate registered-at #’datetime-to-timestamp))
id
name
email
registered-at)

;; Same as the above.
(syntax:use-syntax :annot)

@model
(defstruct (user (:inflate registered-at #’datetime-to-timestamp))
id
name
email
registered-at)
“‘

‘(:inflate <columns> <inflation-function>)‘ options mean ‘inflation-function‘ will be applied to each ‘<columns>‘ when creating an instance.

“‘common-lisp
(defvar *user*
(retrieve-one
(select :*
(from :user)
(where (:= :name "nitro_idiot")))
:as ’user))

;; Returns a local-time:timestamp.
(user-registered-at *user*)
;=> @2014-04-15T04:20:13.000000+09:00
“‘

‘defmodel‘ also allows ‘:has-a‘ and ‘:has-many‘ options.

“‘common-lisp
(use-package :sxql)

(defmodel (user (:inflate registered-at #’datetime-to-timestamp)
(:has-a config (where (:= :user_id id)))
(:has-many (tweets tweet)
(select :*
(from :tweet)
(where (:= :user_id id))
(order-by (:desc :created_at)))))
id
name
email
registered-at)

(defvar *user*
(retrieve-one
(select :*
(from :user)
(where (:= :name "nitro_idiot")))
:as ’user))

(user-config *user*)
;=> #S(CONFIG :ID 4 :USER-ID 1 :TIMEZONE "JST" :COUNTRY "jp" :LANGUAGE "ja")

(user-tweets *user*)
;=> (#S(TWEET :ID 2 :USER-ID 1 :BODY "Is it working?" :CREATED-AT @2014-04-16T11:02:31.000000+09:00)
; #S(TWEET :ID 1 :USER-ID 1 :BODY "Hi." :CREATED-AT @2014-04-15T18:58:20.000000+09:00))
“‘

## Provided inflation functions

* ‘tinyint-to-boolean‘
* ‘datetime-to-timestamp‘
* ‘unixtime-to-timestamp‘
* ‘string-to-keyword‘
* ‘octet-vector-to-string‘

## Tips: Getting Association List or Hash Table for each rows

‘retrieve-one‘ and ‘retrieve-all‘ return row(s) as a property list or a list of property lists by default.

If you’d like they were other types, for example "Association List" or "Hash Table", you can do it by passing ‘:as‘ parameter.

“‘common-lisp
(retrieve-one
(select :*
(from :user)
(where (:= :name "nitro_idiot")))
:as ’trivial-types:association-list)
;=> ((:ID . 1) (:NAME . "nitro_idiot") (:EMAIL . "nitro_idiot@example.com") (:REGISTERED-AT . "2014-04-14T19:20:13"))

(retrieve-one
(select :*
(from :user)
(where (:= :name "nitro_idiot")))
:as ’hash-table)
;=> #<HASH-TABLE :TEST EQL :COUNT 4 {1007AE3CD3}>
“‘

If no ‘:as‘ parameter is specified, ‘*default-row-type*‘ will be used.

“‘common-lisp
(let ((*default-row-type* ’hash-table))
(retrieve-all
(select :*
(from :user))))
;=> (#<HASH-TABLE :TEST EQL :COUNT 4 {100815FA03}> #<HASH-TABLE :TEST EQL :COUNT 4 {100815FE43}>)
“‘

## See Also

* [SxQL](https://github.com/fukamachi/sxql)
* [CL-DBI](https://github.com/fukamachi/cl-dbi)
* [cl-annot](https://github.com/arielnetworks/cl-annot), [CL-SYNTAX](https://github.com/m2ym/cl-syntax)
* [function-cache](https://github.com/AccelerationNet/function-cache)

## Author

* Eitaro Fukamachi (e.arrows@gmail.com)

## Copyright

Copyright (c) 2014 Eitaro Fukamachi (e.arrows@gmail.com)

# License

Licensed under the BSD 3-Clause License.

Version

0.1

Dependencies
Source

datafly.asd (file)

Component

src (module)


Next: , Previous: , Up: Top   [Contents][Index]

3 Modules

Modules are listed depth-first from the system components tree.


Previous: , Up: Modules   [Contents][Index]

3.1 datafly/src

Parent

datafly (system)

Location

src/

Components

Next: , Previous: , Up: Top   [Contents][Index]

4 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

4.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.1 datafly.asd

Location

datafly.asd

Systems

datafly (system)

Packages

datafly-asd


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.2 datafly/src/datafly.lisp

Dependencies
Parent

src (module)

Location

src/datafly.lisp

Packages

datafly


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.3 datafly/src/model.lisp

Dependencies
Parent

src (module)

Location

src/model.lisp

Packages

datafly.model

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.4 datafly/src/db.lisp

Dependency

logger.lisp (file)

Parent

src (module)

Location

src/db.lisp

Packages

datafly.db

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.5 datafly/src/cache.lisp

Parent

src (module)

Location

src/cache.lisp

Packages

datafly.cache

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.6 datafly/src/logger.lisp

Parent

src (module)

Location

src/logger.lisp

Packages

datafly.logger

Exported Definitions
Internal Definitions

*sql-logger-pattern* (special variable)


Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.7 datafly/src/inflate.lisp

Dependency

db.lisp (file)

Parent

src (module)

Location

src/inflate.lisp

Packages

datafly.inflate

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

4.1.8 datafly/src/json.lisp

Parent

src (module)

Location

src/json.lisp

Packages

datafly.json

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

4.1.9 datafly/src/util.lisp

Parent

src (module)

Location

src/util.lisp

Packages

datafly.util

Exported Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Packages

Packages are listed by definition order.


Next: , Previous: , Up: Packages   [Contents][Index]

5.1 datafly-asd

Source

datafly.asd

Use List

Next: , Previous: , Up: Packages   [Contents][Index]

5.2 datafly

Source

datafly.lisp (file)

Use List

common-lisp


Next: , Previous: , Up: Packages   [Contents][Index]

5.3 datafly.model

Source

model.lisp (file)

Use List
Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.4 datafly.db

Source

db.lisp (file)

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.5 datafly.cache

Source

cache.lisp (file)

Use List
Exported Definitions
Internal Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.6 datafly.logger

Source

logger.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

*sql-logger-pattern* (special variable)


Next: , Previous: , Up: Packages   [Contents][Index]

5.7 datafly.inflate

Source

inflate.lisp (file)

Use List

common-lisp

Exported Definitions

Next: , Previous: , Up: Packages   [Contents][Index]

5.8 datafly.json

Source

json.lisp (file)

Use List
Exported Definitions
Internal Definitions

Previous: , Up: Packages   [Contents][Index]

5.9 datafly.util

Source

util.lisp (file)

Use List

common-lisp

Exported Definitions

Next: , Previous: , Up: Top   [Contents][Index]

6 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

6.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.1 Special variables

Special Variable: *connection*
Package

datafly.db

Source

db.lisp (file)

Special Variable: *default-row-type*
Package

datafly.db

Source

db.lisp (file)

Special Variable: *sql-logger*
Package

datafly.logger

Source

logger.lisp (file)

Special Variable: *trace-sql*
Package

datafly.logger

Source

logger.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.2 Macros

Macro: defcached-accessor NAME ARGS CACHE-ARGS &body BODY
Package

datafly.cache

Source

cache.lisp (file)

Macro: defmodel NAME-AND-OPTIONS &body SLOT-DESCRIPTIONS
Package

datafly.model

Source

model.lisp (file)

Macro: model DEFSTRUCT-FORM
Package

datafly.model

Source

model.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

6.1.3 Functions

Function: clear-model-caches MODEL &optional ACCESSOR
Package

datafly.cache

Source

cache.lisp (file)

Function: clear-object-caches OBJECT &optional ACCESSOR
Package

datafly.cache

Source

cache.lisp (file)

Function: connect-cached &rest CONNECT-ARGS
Package

datafly.db

Source

db.lisp (file)

Function: connect-toplevel &rest CONNECT-ARGS
Package

datafly.db

Source

db.lisp (file)

Function: copy-model OBJECT
Package

datafly.model

Source

model.lisp (file)

Function: database-type ()
Package

datafly.db

Source

db.lisp (file)

Function: datetime-to-timestamp VAL
Package

datafly.inflate

Source

inflate.lisp (file)

Function: disconnect-toplevel ()
Package

datafly.db

Source

db.lisp (file)

Function: execute STATEMENT
Package

datafly.db

Source

db.lisp (file)

Function: object-to-plist OBJECT
Package

datafly.model

Source

model.lisp (file)

Function: octet-vector-to-string VAL
Package

datafly.inflate

Source

inflate.lisp (file)

Function: partition ITEM SEQUENCE &key FROM-END START END KEY TEST
Package

datafly.util

Source

util.lisp (file)

Function: partition-if PRED SEQUENCE &key FROM-END START END KEY
Package

datafly.util

Source

util.lisp (file)

Function: retrieve-all STATEMENT &key AS PRETTIFY
Package

datafly.db

Source

db.lisp (file)

Function: retrieve-all-values STATEMENT &optional KEY PRETTIFY
Package

datafly.db

Source

db.lisp (file)

Function: retrieve-one STATEMENT &key BY = AS PRETTIFY
Package

datafly.db

Source

db.lisp (file)

Function: retrieve-one-value STATEMENT &optional KEY PRETTIFY
Package

datafly.db

Source

db.lisp (file)

Function: string-to-keyword VAL
Package

datafly.inflate

Source

inflate.lisp (file)

Function: tinyint-to-boolean VAL
Package

datafly.inflate

Source

inflate.lisp (file)

Function: unixtime-to-timestamp VAL
Package

datafly.inflate

Source

inflate.lisp (file)


Previous: , Up: Exported definitions   [Contents][Index]

6.1.4 Generic functions

Generic Function: convert-object OBJECT
Package

datafly.json

Source

json.lisp (file)

Methods
Method: convert-object (OBJECT structure-object)
Method: convert-object (OBJECT standard-object)
Generic Function: encode-json OBJECT &optional STREAM
Package

datafly.json

Source

json.lisp (file)

Methods
Method: encode-json OBJECT &optional STREAM

Previous: , Up: Definitions   [Contents][Index]

6.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

6.2.1 Special variables

Special Variable: *connections*
Package

datafly.db

Source

db.lisp (file)

Special Variable: *model-accessors*
Package

datafly.cache

Source

cache.lisp (file)

Special Variable: *sql-logger-pattern*
Package

datafly.logger

Source

logger.lisp (file)


Previous: , Up: Internal definitions   [Contents][Index]

6.2.2 Functions

Function: accessor-cache ACCESSOR
Package

datafly.cache

Source

cache.lisp (file)

Function: association-list-p OBJECT
Package

datafly.json

Source

json.lisp (file)

Function: connection-quote-character CONN
Package

datafly.db

Source

db.lisp (file)

Function: convert-column-name NAME
Package

datafly.db

Source

db.lisp (file)

Function: convert-column-value VALUE
Package

datafly.db

Source

db.lisp (file)

Function: convert-for-json OBJECT
Package

datafly.json

Source

json.lisp (file)

Function: convert-row ROW &key AS PRETTIFY
Package

datafly.db

Source

db.lisp (file)

Function: execute-with-connection CONN STATEMENT
Package

datafly.db

Source

db.lisp (file)

Function: get-prev-stack ()
Package

datafly.db

Source

db.lisp (file)

Function: object-to-plist OBJECT
Package

datafly.json

Source

json.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   D   F   L   M  
Index Entry  Section

D
datafly.asd: The datafly<dot>asd file
datafly/src: The datafly/src module
datafly/src/cache.lisp: The datafly/src/cache<dot>lisp file
datafly/src/datafly.lisp: The datafly/src/datafly<dot>lisp file
datafly/src/db.lisp: The datafly/src/db<dot>lisp file
datafly/src/inflate.lisp: The datafly/src/inflate<dot>lisp file
datafly/src/json.lisp: The datafly/src/json<dot>lisp file
datafly/src/logger.lisp: The datafly/src/logger<dot>lisp file
datafly/src/model.lisp: The datafly/src/model<dot>lisp file
datafly/src/util.lisp: The datafly/src/util<dot>lisp file

F
File, Lisp, datafly.asd: The datafly<dot>asd file
File, Lisp, datafly/src/cache.lisp: The datafly/src/cache<dot>lisp file
File, Lisp, datafly/src/datafly.lisp: The datafly/src/datafly<dot>lisp file
File, Lisp, datafly/src/db.lisp: The datafly/src/db<dot>lisp file
File, Lisp, datafly/src/inflate.lisp: The datafly/src/inflate<dot>lisp file
File, Lisp, datafly/src/json.lisp: The datafly/src/json<dot>lisp file
File, Lisp, datafly/src/logger.lisp: The datafly/src/logger<dot>lisp file
File, Lisp, datafly/src/model.lisp: The datafly/src/model<dot>lisp file
File, Lisp, datafly/src/util.lisp: The datafly/src/util<dot>lisp file

L
Lisp File, datafly.asd: The datafly<dot>asd file
Lisp File, datafly/src/cache.lisp: The datafly/src/cache<dot>lisp file
Lisp File, datafly/src/datafly.lisp: The datafly/src/datafly<dot>lisp file
Lisp File, datafly/src/db.lisp: The datafly/src/db<dot>lisp file
Lisp File, datafly/src/inflate.lisp: The datafly/src/inflate<dot>lisp file
Lisp File, datafly/src/json.lisp: The datafly/src/json<dot>lisp file
Lisp File, datafly/src/logger.lisp: The datafly/src/logger<dot>lisp file
Lisp File, datafly/src/model.lisp: The datafly/src/model<dot>lisp file
Lisp File, datafly/src/util.lisp: The datafly/src/util<dot>lisp file

M
Module, datafly/src: The datafly/src module

Jump to:   D   F   L   M  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   A   C   D   E   F   G   M   O   P   R   S   T   U  
Index Entry  Section

A
accessor-cache: Internal functions
association-list-p: Internal functions

C
clear-model-caches: Exported functions
clear-object-caches: Exported functions
connect-cached: Exported functions
connect-toplevel: Exported functions
connection-quote-character: Internal functions
convert-column-name: Internal functions
convert-column-value: Internal functions
convert-for-json: Internal functions
convert-object: Exported generic functions
convert-object: Exported generic functions
convert-object: Exported generic functions
convert-row: Internal functions
copy-model: Exported functions

D
database-type: Exported functions
datetime-to-timestamp: Exported functions
defcached-accessor: Exported macros
defmodel: Exported macros
disconnect-toplevel: Exported functions

E
encode-json: Exported generic functions
encode-json: Exported generic functions
execute: Exported functions
execute-with-connection: Internal functions

F
Function, accessor-cache: Internal functions
Function, association-list-p: Internal functions
Function, clear-model-caches: Exported functions
Function, clear-object-caches: Exported functions
Function, connect-cached: Exported functions
Function, connect-toplevel: Exported functions
Function, connection-quote-character: Internal functions
Function, convert-column-name: Internal functions
Function, convert-column-value: Internal functions
Function, convert-for-json: Internal functions
Function, convert-row: Internal functions
Function, copy-model: Exported functions
Function, database-type: Exported functions
Function, datetime-to-timestamp: Exported functions
Function, disconnect-toplevel: Exported functions
Function, execute: Exported functions
Function, execute-with-connection: Internal functions
Function, get-prev-stack: Internal functions
Function, object-to-plist: Exported functions
Function, object-to-plist: Internal functions
Function, octet-vector-to-string: Exported functions
Function, partition: Exported functions
Function, partition-if: Exported functions
Function, retrieve-all: Exported functions
Function, retrieve-all-values: Exported functions
Function, retrieve-one: Exported functions
Function, retrieve-one-value: Exported functions
Function, string-to-keyword: Exported functions
Function, tinyint-to-boolean: Exported functions
Function, unixtime-to-timestamp: Exported functions

G
Generic Function, convert-object: Exported generic functions
Generic Function, encode-json: Exported generic functions
get-prev-stack: Internal functions

M
Macro, defcached-accessor: Exported macros
Macro, defmodel: Exported macros
Macro, model: Exported macros
Method, convert-object: Exported generic functions
Method, convert-object: Exported generic functions
Method, encode-json: Exported generic functions
model: Exported macros

O
object-to-plist: Exported functions
object-to-plist: Internal functions
octet-vector-to-string: Exported functions

P
partition: Exported functions
partition-if: Exported functions

R
retrieve-all: Exported functions
retrieve-all-values: Exported functions
retrieve-one: Exported functions
retrieve-one-value: Exported functions

S
string-to-keyword: Exported functions

T
tinyint-to-boolean: Exported functions

U
unixtime-to-timestamp: Exported functions

Jump to:   A   C   D   E   F   G   M   O   P   R   S   T   U  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *  
S  
Index Entry  Section

*
*connection*: Exported special variables
*connections*: Internal special variables
*default-row-type*: Exported special variables
*model-accessors*: Internal special variables
*sql-logger*: Exported special variables
*sql-logger-pattern*: Internal special variables
*trace-sql*: Exported special variables

S
Special Variable, *connection*: Exported special variables
Special Variable, *connections*: Internal special variables
Special Variable, *default-row-type*: Exported special variables
Special Variable, *model-accessors*: Internal special variables
Special Variable, *sql-logger*: Exported special variables
Special Variable, *sql-logger-pattern*: Internal special variables
Special Variable, *trace-sql*: Exported special variables

Jump to:   *  
S  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   D   P   S  
Index Entry  Section

D
datafly: The datafly system
datafly: The datafly package
datafly-asd: The datafly-asd package
datafly.cache: The datafly<dot>cache package
datafly.db: The datafly<dot>db package
datafly.inflate: The datafly<dot>inflate package
datafly.json: The datafly<dot>json package
datafly.logger: The datafly<dot>logger package
datafly.model: The datafly<dot>model package
datafly.util: The datafly<dot>util package

P
Package, datafly: The datafly package
Package, datafly-asd: The datafly-asd package
Package, datafly.cache: The datafly<dot>cache package
Package, datafly.db: The datafly<dot>db package
Package, datafly.inflate: The datafly<dot>inflate package
Package, datafly.json: The datafly<dot>json package
Package, datafly.logger: The datafly<dot>logger package
Package, datafly.model: The datafly<dot>model package
Package, datafly.util: The datafly<dot>util package

S
System, datafly: The datafly system

Jump to:   D   P   S