The mito Reference Manual

This is the mito Reference Manual, version 0.2.0, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Dec 08 18:59:40 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 mito

Abstraction layer for DB schema

Author

Eitaro Fukamachi

License

BSD 3-Clause

Version

0.2.0

Dependencies
Source

mito.asd.

Child Component

src/mito.lisp (file).


2.2 mito-core

Author

Eitaro Fukamachi

License

BSD 3-Clause

Version

0.2.0

Dependencies
  • dbi (system)., at least version "0.11.1"
  • sxql (system).
  • cl-ppcre (system).
  • closer-mop (system).
  • dissect (system).
  • trivia (system).
  • local-time (system).
  • uuid (system).
  • alexandria (system).
Source

mito-core.asd.

Child Components

2.3 mito-migration

Author

Eitaro Fukamachi

License

BSD 3-Clause

Version

0.2.0

Dependencies
  • mito-core (system).
  • sxql (system).
  • dbi (system).
  • closer-mop (system).
  • esrap (system).
  • alexandria (system).
  • uiop (system).
  • chipz (system).
Source

mito-migration.asd.

Child Components

2.4 lack-middleware-mito

Author

Eitaro Fukamachi

License

BSD 3-Clause

Version

0.1

Dependencies
Source

lack-middleware-mito.asd.

Child Component

src (module).


3 Modules

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


3.1 mito-core/core-components

Source

mito-core.asd.

Parent Component

mito-core (system).

Child Components

3.2 mito-core/core-components/dao-components

Dependencies
Source

mito-core.asd.

Parent Component

core-components (module).

Child Components

3.3 mito-core/core-components/class-components

Dependencies
Source

mito-core.asd.

Parent Component

core-components (module).

Child Components

3.4 mito-core/core-components/db-drivers

Dependencies
Source

mito-core.asd.

Parent Component

core-components (module).

Child Components

3.5 mito-migration/migration-components

Source

mito-migration.asd.

Parent Component

mito-migration (system).

Child Components

3.6 lack-middleware-mito/src

Source

lack-middleware-mito.asd.

Parent Component

lack-middleware-mito (system).

Child Component

middleware.lisp (file).


4 Files

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


4.1 Lisp


4.1.1 mito/mito.asd

Source

mito.asd.

Parent Component

mito (system).

ASDF Systems

mito.


4.1.2 mito-core/mito-core.asd

Source

mito-core.asd.

Parent Component

mito-core (system).

ASDF Systems

mito-core.


4.1.3 mito-migration/mito-migration.asd

Source

mito-migration.asd.

Parent Component

mito-migration (system).

ASDF Systems

mito-migration.


4.1.4 lack-middleware-mito/lack-middleware-mito.asd

Source

lack-middleware-mito.asd.

Parent Component

lack-middleware-mito (system).

ASDF Systems

lack-middleware-mito.


4.1.5 mito/src/mito.lisp

Source

mito.asd.

Parent Component

mito (system).

Packages

mito.


4.1.6 mito-core/src/core.lisp

Dependency

core-components (module).

Source

mito-core.asd.

Parent Component

mito-core (system).

Packages

mito.core.


4.1.7 mito-core/core-components/dao.lisp

Dependency

dao-components (module).

Source

mito-core.asd.

Parent Component

core-components (module).

Packages

mito.dao.

Public Interface
Internals

4.1.8 mito-core/core-components/dao-components/table.lisp

Dependencies
Source

mito-core.asd.

Parent Component

dao-components (module).

Packages

mito.dao.table.

Public Interface
Internals

4.1.9 mito-core/core-components/dao-components/view.lisp

Dependency

column.lisp (file).

Source

mito-core.asd.

Parent Component

dao-components (module).

Packages

mito.dao.view.

Public Interface
Internals

4.1.10 mito-core/core-components/dao-components/mixin.lisp

Dependency

column.lisp (file).

Source

mito-core.asd.

Parent Component

dao-components (module).

Packages

mito.dao.mixin.

Public Interface
Internals

4.1.11 mito-core/core-components/dao-components/column.lisp

Source

mito-core.asd.

Parent Component

dao-components (module).

Packages

mito.dao.column.

Public Interface
Internals

4.1.12 mito-core/core-components/class.lisp

Dependency

class-components (module).

Source

mito-core.asd.

Parent Component

core-components (module).

Packages

mito.class.

Public Interface

4.1.13 mito-core/core-components/class-components/table.lisp

Dependency

column.lisp (file).

Source

mito-core.asd.

Parent Component

class-components (module).

Packages

mito.class.table.

Public Interface
Internals

4.1.14 mito-core/core-components/class-components/column.lisp

Source

mito-core.asd.

Parent Component

class-components (module).

Packages

mito.class.column.

Public Interface
Internals

4.1.15 mito-core/core-components/connection.lisp

Dependency

error.lisp (file).

Source

mito-core.asd.

Parent Component

core-components (module).

Packages

mito.connection.

Public Interface

4.1.16 mito-core/core-components/type.lisp

Dependency

db.lisp (file).

Source

mito-core.asd.

Parent Component

core-components (module).

Packages

mito.type.

Public Interface
Internals

4.1.17 mito-core/core-components/db.lisp

Dependencies
Source

mito-core.asd.

Parent Component

core-components (module).

Packages

mito.db.

Public Interface
Internals

4.1.18 mito-core/core-components/db-drivers/mysql.lisp

Source

mito-core.asd.

Parent Component

db-drivers (module).

Packages

mito.db.mysql.

Public Interface
Internals

ensure-string (function).


4.1.19 mito-core/core-components/db-drivers/postgres.lisp

Source

mito-core.asd.

Parent Component

db-drivers (module).

Packages

mito.db.postgres.

Public Interface
Internals

get-serial-keys (function).


4.1.20 mito-core/core-components/db-drivers/sqlite3.lisp

Source

mito-core.asd.

Parent Component

db-drivers (module).

Packages

mito.db.sqlite3.

Public Interface
Internals

4.1.21 mito-core/core-components/conversion.lisp

Source

mito-core.asd.

Parent Component

core-components (module).

Packages

mito.conversion.

Public Interface

convert-for-driver-type (generic function).

Internals

4.1.22 mito-core/core-components/logger.lisp

Source

mito-core.asd.

Parent Component

core-components (module).

Packages

mito.logger.

Public Interface
Internals

4.1.23 mito-core/core-components/error.lisp

Source

mito-core.asd.

Parent Component

core-components (module).

Packages

mito.error.

Public Interface

4.1.24 mito-core/core-components/util.lisp

Source

mito-core.asd.

Parent Component

core-components (module).

Packages

mito.util.

Public Interface
Internals

4.1.25 mito-migration/src/migration.lisp

Dependency

migration-components (module).

Source

mito-migration.asd.

Parent Component

mito-migration (system).

Packages

mito.migration.


4.1.26 mito-migration/migration-components/table.lisp

Dependency

sxql.lisp (file).

Source

mito-migration.asd.

Parent Component

migration-components (module).

Packages

mito.migration.table.

Public Interface
Internals

4.1.27 mito-migration/migration-components/versions.lisp

Dependencies
Source

mito-migration.asd.

Parent Component

migration-components (module).

Packages

mito.migration.versions.

Public Interface
Internals

4.1.28 mito-migration/migration-components/sxql.lisp

Source

mito-migration.asd.

Parent Component

migration-components (module).

Packages

mito.migration.sxql.

Public Interface
Internals

4.1.29 mito-migration/migration-components/sql-parse.lisp

Source

mito-migration.asd.

Parent Component

migration-components (module).

Packages

mito.migration.sql-parse.

Public Interface

parse-statements (function).


4.1.30 mito-migration/migration-components/util.lisp

Source

mito-migration.asd.

Parent Component

migration-components (module).

Packages

mito.migration.util.

Public Interface

generate-advisory-lock-id (function).

Internals

4.1.31 lack-middleware-mito/src/middleware.lisp

Source

lack-middleware-mito.asd.

Parent Component

src (module).

Packages

mito.middleware.

Public Interface

*lack-middleware-mito* (special variable).


5 Packages

Packages are listed by definition order.


5.1 mito.db.sqlite3

Source

sqlite3.lisp.

Use List
Public Interface
Internals

5.2 mito.migration.sql-parse

Source

sql-parse.lisp.

Use List
  • common-lisp.
  • esrap.
Public Interface

parse-statements (function).


5.3 mito.connection

Source

connection.lisp.

Use List
Public Interface

5.4 mito.migration

Source

src/migration.lisp.

Use List
Used By List

mito.


5.5 mito.core

Source

src/core.lisp.

Use List
Used By List

mito.


5.6 mito.type

Source

type.lisp.

Use List

common-lisp.

Public Interface
Internals

5.7 mito.class

Source

class.lisp.

Use List
Used By List

mito.dao.

Public Interface

create-table-sxql (generic function).


5.8 mito.migration.sxql

Extansions of SxQL for Mito.Migration

Source

sxql.lisp.

Use List

common-lisp.

Internals

5.9 mito.dao.mixin

Source

mixin.lisp.

Use List
Used By List

mito.dao.

Public Interface
Internals

5.10 mito.logger

Source

logger.lisp.

Use List

common-lisp.

Public Interface
Internals

5.11 mito.db.mysql

Source

mysql.lisp.

Use List
Public Interface
Internals

ensure-string (function).


5.12 mito.dao

Source

dao.lisp.

Use List
Used By List

mito.core.

Public Interface
Internals

5.13 mito.middleware

Source

middleware.lisp.

Nickname

lack.middleware.mito

Use List

common-lisp.

Public Interface

*lack-middleware-mito* (special variable).


5.14 mito.dao.column

Source

column.lisp.

Use List
Public Interface
Internals

5.15 mito.class.table

Source

table.lisp.

Use List
Used By List

mito.class.

Public Interface
Internals

5.16 mito.class.column

Source

column.lisp.

Use List
Used By List

mito.class.

Public Interface
Internals

5.17 mito

Source

src/mito.lisp.

Use List

5.18 mito.conversion

Source

conversion.lisp.

Use List

common-lisp.

Public Interface

convert-for-driver-type (generic function).

Internals

5.19 mito.dao.view

Source

view.lisp.

Use List

common-lisp.

Used By List

mito.dao.

Public Interface
Internals

5.20 mito.dao.table

Source

table.lisp.

Use List
Used By List

mito.dao.

Public Interface
Internals

5.21 mito.error

Source

error.lisp.

Use List

common-lisp.

Used By List
Public Interface

5.22 mito.util

Source

util.lisp.

Use List

common-lisp.

Used By List
Public Interface
Internals

5.23 mito.db.postgres

Source

postgres.lisp.

Use List
Public Interface
Internals

get-serial-keys (function).


5.24 mito.db

Source

db.lisp.

Use List

common-lisp.

Public Interface
Internals

5.25 mito.migration.table

Source

table.lisp.

Use List
  • common-lisp.
  • sxql.
Used By List

mito.migration.

Public Interface
Internals

5.26 mito.migration.util

Source

util.lisp.

Use List

common-lisp.

Public Interface

generate-advisory-lock-id (function).

Internals

5.27 mito.migration.versions

Source

versions.lisp.

Use List
  • common-lisp.
  • sxql.
Used By List

mito.migration.

Public Interface
Internals

6 Definitions

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


6.1 Public Interface


6.1.1 Special variables

Special Variable: *auto-migration-mode*
Package

mito.migration.table.

Source

table.lisp.

Special Variable: *connection*
Package

mito.connection.

Source

connection.lisp.

Special Variable: *lack-middleware-mito*
Package

mito.middleware.

Source

middleware.lisp.

Special Variable: *migration-keep-temp-tables*

SQLite3 migration creates temporary tables with pre-migration data. If this variable is T they won’t be deleted after migration.

Package

mito.migration.table.

Source

table.lisp.

Special Variable: *migration-version-format*
Package

mito.migration.versions.

Source

versions.lisp.

Special Variable: *mito-logger-stream*
Package

mito.logger.

Source

logger.lisp.

Special Variable: *mito-migration-logger-stream*

Stream to output sql generated during migrations.

Package

mito.logger.

Source

logger.lisp.

Special Variable: *trace-sql-hooks*
Package

mito.logger.

Source

logger.lisp.

Special Variable: *use-prepare-cached*

EXPERIMENTAL FEATURE: If this is T, Mito uses DBI:PREPARE-CACHED
to retrieve/execute SQLs instead of DBI:PREPARE. The default value is NIL. Note that DBI:PREPARE-CACHED is added CL-DBI v0.9.5.

Package

mito.db.

Source

db.lisp.


6.1.2 Macros

Macro: deftable (name direct-superclasses direct-slots &rest options)
Package

mito.dao.

Source

dao.lisp.

Macro: do-select ((dao select &optional index) &body body)
Package

mito.dao.

Source

dao.lisp.

Macro: select-dao (class &body clauses)

Build custom queries with SxQL.

Example:

(select-dao ’tweet
(where (:like :status "%Japan%")))

You can use "includes" to eagerly load another table and prevent the "N+1 query" performance problem.

Example:

(defvar *tweets-contain-japan*
(select-dao ’tweet
(includes ’user)
(where (:like :status "%Japan%"))))

See the SxQL documentation for the available clauses and operators.

Package

mito.dao.

Source

dao.lisp.

Macro: with-prepared-query (query (conn sql &key use-prepare-cached) &body body)
Package

mito.util.

Source

util.lisp.

Macro: with-quote-char (&body body)
Package

mito.connection.

Source

connection.lisp.

Macro: with-sql-logging (&body body)
Package

mito.logger.

Source

logger.lisp.

Macro: with-trace-sql (&body body)
Package

mito.logger.

Source

logger.lisp.


6.1.3 Ordinary functions

Function: acquire-advisory-lock (conn id)
Package

mito.db.mysql.

Source

mysql.lisp.

Function: acquire-advisory-lock (conn id)
Package

mito.db.postgres.

Source

postgres.lisp.

Function: acquire-advisory-lock (conn id)
Package

mito.db.

Source

db.lisp.

Function: all-migration-expressions ()
Package

mito.migration.versions.

Source

versions.lisp.

Function: check-connected ()
Package

mito.connection.

Source

connection.lisp.

Function: column-definitions (conn table-name)
Package

mito.db.sqlite3.

Source

sqlite3.lisp.

Function: column-definitions (conn table-name)
Package

mito.db.mysql.

Source

mysql.lisp.

Function: column-definitions (conn table-name)
Package

mito.db.postgres.

Source

postgres.lisp.

Function: column-definitions (conn table-name)
Package

mito.db.

Source

db.lisp.

Function: connect-toplevel (driver-name &rest args &key database-name &allow-other-keys)
Package

mito.connection.

Source

connection.lisp.

Function: connected-p ()
Package

mito.connection.

Source

connection.lisp.

Function: connection-database-name (&optional conn)

Return the name of the current connection, or the one given as argument.

Package

mito.connection.

Source

connection.lisp.

Function: connection-quote-character (conn)
Package

mito.connection.

Source

connection.lisp.

Function: contains-class-or-subclasses (class target-classes)
Package

mito.util.

Source

util.lisp.

Function: count-dao (class &rest fields-and-values)
Package

mito.dao.

Source

dao.lisp.

Function: current-migration-version ()
Package

mito.migration.versions.

Source

versions.lisp.

Function: depending-table-classes (class)
Package

mito.dao.table.

Source

table.lisp.

Function: disconnect-toplevel ()
Package

mito.connection.

Source

connection.lisp.

Function: driver-type (&optional conn)
Package

mito.connection.

Source

connection.lisp.

Function: ensure-class (class-or-class-name)
Package

mito.util.

Source

util.lisp.

Function: ensure-table-exists (class)
Package

mito.dao.

Source

dao.lisp.

Function: execute-with-retry (query binds)

Same as DBI:EXECUTE except will recreate a prepared statement when getting DBI:DBI-DATABASE-ERROR.

Package

mito.util.

Source

util.lisp.

Function: find-child-columns (table slot)
Package

mito.class.table.

Source

table.lisp.

Function: find-dao (class &rest fields-and-values)
Package

mito.dao.

Source

dao.lisp.

Function: find-parent-column (table slot)
Package

mito.class.table.

Source

table.lisp.

Function: find-slot-by-name (class slot-name &key test)
Package

mito.class.table.

Source

table.lisp.

Function: generate-advisory-lock-id (database-name)
Package

mito.migration.util.

Source

util.lisp.

Function: generate-migrations (directory &key force)
Package

mito.migration.versions.

Source

versions.lisp.

Function: get-column-real-type (conn name)
Package

mito.type.

Source

type.lisp.

Function: group-by-plist (plists &key key test)
Package

mito.util.

Source

util.lisp.

Function: include-foreign-objects (foreign-class records)
Package

mito.dao.

Source

dao.lisp.

Function: last-insert-id (conn table-name)
Package

mito.db.sqlite3.

Source

sqlite3.lisp.

Function: last-insert-id (conn table-name serial-key-name)
Package

mito.db.mysql.

Source

mysql.lisp.

Function: last-insert-id (conn table-name serial-key-name)
Package

mito.db.postgres.

Source

postgres.lisp.

Function: last-insert-id (conn table-name serial-key-name)
Package

mito.db.

Source

db.lisp.

Function: lispify (object)
Package

mito.util.

Source

util.lisp.

Function: list-diff (a b &key sort-key sort-key-a sort-key-b sort-fn key test)

Compute differences two lists.
Note this can be applied for a list of string-designators.

Package

mito.util.

Source

util.lisp.

Function: migrate (directory &key dry-run force)
Package

mito.migration.versions.

Source

versions.lisp.

Function: migration-expressions (class &optional driver-type)
Package

mito.migration.table.

Source

table.lisp.

Function: migration-status (directory)
Package

mito.migration.versions.

Source

versions.lisp.

Function: mito-sql-logger (sql params row-count took-usec prev-stack)
Package

mito.logger.

Source

logger.lisp.

Function: parse-dbtype (dbtype)
Package

mito.type.

Source

type.lisp.

Function: parse-statements (content)
Package

mito.migration.sql-parse.

Source

sql-parse.lisp.

Function: recreate-table (class)
Package

mito.dao.

Source

dao.lisp.

Function: release-advisory-lock (conn id)
Package

mito.db.mysql.

Source

mysql.lisp.

Function: release-advisory-lock (conn id)
Package

mito.db.postgres.

Source

postgres.lisp.

Function: release-advisory-lock (conn id)
Package

mito.db.

Source

db.lisp.

Function: retrieve-dao (class &rest fields-and-values)
Package

mito.dao.

Source

dao.lisp.

Function: select-by-sql (class sql &key binds)
Package

mito.dao.

Source

dao.lisp.

Function: symbol-name-literally (symbol)
Package

mito.util.

Source

util.lisp.

Function: table-column-slots (class)
Package

mito.class.table.

Source

table.lisp.

Function: table-direct-column-slots (class)
Package

mito.class.table.

Source

table.lisp.

Function: table-exists-p (conn table-name)
Package

mito.db.

Source

db.lisp.

Function: table-indices (conn table-name)
Package

mito.db.sqlite3.

Source

sqlite3.lisp.

Function: table-indices (conn table-name)
Package

mito.db.mysql.

Source

mysql.lisp.

Function: table-indices (conn table-name)
Package

mito.db.postgres.

Source

postgres.lisp.

Function: table-indices (conn table-name)
Package

mito.db.

Source

db.lisp.

Function: table-view-query (conn table-name)
Package

mito.db.mysql.

Source

mysql.lisp.

Function: table-view-query (conn table-name)
Package

mito.db.postgres.

Source

postgres.lisp.

Function: table-view-query (conn table-name)
Package

mito.db.

Source

db.lisp.

Function: unlispify (object)
Package

mito.util.

Source

util.lisp.

Function: update-migration-version (version)
Package

mito.migration.versions.

Source

versions.lisp.


6.1.4 Generic functions

Generic Function: convert-for-driver-type (driver-type col-type value)
Package

mito.conversion.

Source

conversion.lisp.

Methods
Method: convert-for-driver-type (driver-type col-type value)
Method: convert-for-driver-type (driver-type col-type (value string))
Method: convert-for-driver-type ((driver-type (eql :mysql)) (col-type (eql :boolean)) value)
Method: convert-for-driver-type ((driver-type (eql :mysql)) (col-type (eql :datetime)) (value timestamp))
Method: convert-for-driver-type (driver-type (col-type (eql :datetime)) (value timestamp))
Method: convert-for-driver-type (driver-type (col-type (eql :date)) (value timestamp))
Method: convert-for-driver-type (driver-type (col-type (eql :timestamp)) value)
Method: convert-for-driver-type (driver-type (col-type (eql :timestamptz)) value)
Method: convert-for-driver-type ((driver-type (eql :sqlite3)) (col-type (eql :boolean)) value)
Method: convert-for-driver-type ((driver-type (eql :postgres)) (col-type (eql :boolean)) value)
Generic Function: create-dao (class &rest initargs)

Create an object of class CLASS with INITARGS and save it into the DB.

Example:

(mito:create-dao ’user :name "Eitaro Fukamachi" :email "e.arrows@gmail.com")

same as:

(defvar me
(make-instance ’user :name "Eitaro Fukamachi" :email "e.arrows@gmail.com")) ;=> USER

(mito:insert-dao me)

Package

mito.dao.

Source

dao.lisp.

Methods
Method: create-dao ((class-name symbol) &rest initargs)
Method: create-dao ((class dao-table-class) &rest initargs)
Generic Function: create-table-sxql (class driver-type &key if-not-exists)
Package

mito.class.

Source

class.lisp.

Methods
Method: create-table-sxql (class driver-type &key if-not-exists)
Generic Reader: dao-synced (object)
Package

mito.dao.mixin.

Methods
Reader Method: dao-synced ((dao-class dao-class))

automatically generated reader method

Source

mixin.lisp.

Target Slot

synced.

Generic Writer: (setf dao-synced) (object)
Package

mito.dao.mixin.

Methods
Writer Method: (setf dao-synced) ((dao-class dao-class))

automatically generated writer method

Source

mixin.lisp.

Target Slot

synced.

Generic Function: dao-table-column-deflate (column value)
Package

mito.dao.column.

Source

column.lisp.

Methods
Method: dao-table-column-deflate ((column dao-table-column-class) value)
Generic Function: dao-table-column-inflate (column value)
Package

mito.dao.column.

Source

column.lisp.

Methods
Method: dao-table-column-inflate ((column dao-table-column-class) value)
Generic Reader: dao-table-view-as-query (object)
Package

mito.dao.view.

Methods
Reader Method: dao-table-view-as-query ((dao-table-view dao-table-view))

automatically generated reader method

Source

view.lisp.

Target Slot

as.

Generic Function: database-column-slots (class)
Package

mito.class.table.

Source

table.lisp.

Methods
Method: database-column-slots ((class table-class))
Generic Function: deflate-for-col-type (col-type value)
Package

mito.dao.column.

Source

column.lisp.

Methods
Method: deflate-for-col-type (col-type value)
Method: deflate-for-col-type ((col-type cons) value)
Method: deflate-for-col-type ((col-type (eql :datetime)) value)
Method: deflate-for-col-type ((col-type (eql :date)) value)
Method: deflate-for-col-type ((col-type (eql :timestamp)) value)
Method: deflate-for-col-type ((col-type (eql :timestamptz)) value)
Generic Function: delete-by-values (class &rest fields-and-values)

Delete the records of class CLASS matching FIELDS-AND-VALUES from the DB. For example: (mito:delete-by-values ’user :id 1)

Package

mito.dao.

Source

dao.lisp.

Methods
Method: delete-by-values ((class symbol) &rest fields-and-values)
Method: delete-by-values ((class dao-table-class) &rest fields-and-values)
Generic Function: delete-dao (obj)

Delete the object OBJ from the DB.

Package

mito.dao.

Source

dao.lisp.

Methods
Method: delete-dao ((obj dao-class))
Generic Function: execute-sql (sql &optional binds)
Package

mito.db.

Source

db.lisp.

Methods
Method: execute-sql ((sql string) &optional binds)
Method: execute-sql ((sql sql-statement) &optional binds)
Generic Reader: ghost-slot-p (object)
Generic Writer: (setf ghost-slot-p) (object)
Package

mito.class.column.

Methods
Reader Method: ghost-slot-p ((table-column-class table-column-class))
Writer Method: (setf ghost-slot-p) ((table-column-class table-column-class))

Option to specify slots as ghost slots. Ghost slots do not depend on a database.

Source

column.lisp.

Target Slot

ghost.

Generic Function: inflate-for-col-type (col-type value)
Package

mito.dao.column.

Source

column.lisp.

Methods
Method: inflate-for-col-type (col-type value)
Method: inflate-for-col-type ((col-type cons) value)
Method: inflate-for-col-type ((col-type (eql :datetime)) value)
Method: inflate-for-col-type ((col-type (eql :date)) value)
Method: inflate-for-col-type ((col-type (eql :timestamp)) value)
Method: inflate-for-col-type ((col-type (eql :timestamptz)) value)
Method: inflate-for-col-type ((col-type (eql :time)) value)
Method: inflate-for-col-type ((col-type (eql :boolean)) value)
Generic Function: insert-dao (obj)

Insert the object OBJ into the DB.

Package

mito.dao.

Source

dao.lisp.

Methods
Method: insert-dao ((obj dao-class))
Method: insert-dao :before ((obj record-timestamps-mixin))
Generic Function: make-dao-instance (class &rest initargs)
Package

mito.dao.mixin.

Source

mixin.lisp.

Methods
Method: make-dao-instance ((class-name symbol) &rest initargs)
Method: make-dao-instance ((class table-class) &rest initargs)
Generic Function: migrate-table (class)
Package

mito.migration.table.

Source

table.lisp.

Methods
Method: migrate-table ((class symbol))
Method: migrate-table ((class dao-table-class))
Generic Reader: object-created-at (object)
Package

mito.dao.mixin.

Methods
Reader Method: object-created-at ((record-timestamps-mixin record-timestamps-mixin))

automatically generated reader method

Source

mixin.lisp.

Target Slot

created-at.

Generic Writer: (setf object-created-at) (object)
Package

mito.dao.mixin.

Methods
Writer Method: (setf object-created-at) ((record-timestamps-mixin record-timestamps-mixin))

automatically generated writer method

Source

mixin.lisp.

Target Slot

created-at.

Generic Function: object-id (object)
Package

mito.dao.mixin.

Source

mixin.lisp.

Methods
Method: object-id ((object serial-pk-mixin))
Method: object-id ((object uuid-pk-mixin))
Generic Function: (setf object-id) (object)
Package

mito.dao.mixin.

Source

mixin.lisp.

Methods
Method: (setf object-id) ((object serial-pk-mixin))
Method: (setf object-id) ((object uuid-pk-mixin))
Generic Reader: object-updated-at (object)
Package

mito.dao.mixin.

Methods
Reader Method: object-updated-at ((record-timestamps-mixin record-timestamps-mixin))

automatically generated reader method

Source

mixin.lisp.

Target Slot

updated-at.

Generic Writer: (setf object-updated-at) (object)
Package

mito.dao.mixin.

Methods
Writer Method: (setf object-updated-at) ((record-timestamps-mixin record-timestamps-mixin))

automatically generated writer method

Source

mixin.lisp.

Target Slot

updated-at.

Generic Function: object= (object1 object2)
Package

mito.dao.mixin.

Source

mixin.lisp.

Methods
Method: object= (object1 object2)
Generic Reader: primary-key-p (object)
Package

mito.class.column.

Methods
Reader Method: primary-key-p ((table-column-class table-column-class))

automatically generated reader method

Source

column.lisp.

Target Slot

primary-key.

Generic Writer: (setf primary-key-p) (object)
Package

mito.class.column.

Methods
Writer Method: (setf primary-key-p) ((table-column-class table-column-class))

automatically generated writer method

Source

column.lisp.

Target Slot

primary-key.

Generic Function: retrieve-by-sql (sql &key binds format lispify &allow-other-keys)
Package

mito.db.

Source

db.lisp.

Methods
Method: retrieve-by-sql ((sql string) &key binds format lispify)
Method: retrieve-by-sql (sql &rest args &key binds &allow-other-keys)
Generic Function: save-dao (obj)

Save the object OBJ into the DB.

Package

mito.dao.

Source

dao.lisp.

Methods
Method: save-dao ((obj dao-class))
Generic Function: table-column-info (column driver-type)
Package

mito.class.column.

Source

column.lisp.

Methods
Method: table-column-info (column (driver-type (eql :sqlite3)))
Method: table-column-info (column (driver-type (eql :mysql)))
Method: table-column-info (column (driver-type (eql :postgres)))
Method: table-column-info :around (column driver-type)
Generic Function: table-column-info-for-create-table (column driver-type)

Similar to table-column-info except the return value is for sxql:make-create-table.

Package

mito.class.column.

Source

column.lisp.

Methods
Method: table-column-info-for-create-table (column driver-type)
Method: table-column-info-for-create-table :around (column driver-type)
Method: table-column-info-for-create-table (column (driver-type (eql :mysql)))
Method: table-column-info-for-create-table (column (driver-type (eql :sqlite3)))
Method: table-column-info-for-create-table (column (driver-type (eql :postgres)))
Generic Function: table-column-name (column)
Package

mito.class.column.

Source

column.lisp.

Methods
Method: table-column-name ((column table-column-class))
Generic Function: table-column-not-null-p (column)
Package

mito.class.column.

Source

column.lisp.

Methods
Method: table-column-not-null-p ((column table-column-class))
Generic Reader: table-column-references (object)
Package

mito.class.column.

Methods
Reader Method: table-column-references ((table-column-class table-column-class))

automatically generated reader method

Source

column.lisp.

Target Slot

references.

Generic Function: table-column-references-column (column)
Package

mito.class.column.

Source

column.lisp.

Methods
Method: table-column-references-column ((column table-column-class))
Source

class.lisp.

Generic Function: table-column-type (column)
Package

mito.class.column.

Source

column.lisp.

Methods
Method: table-column-type ((column table-column-class))
Generic Function: table-definition (class &key if-not-exists or-replace &allow-other-keys)
Package

mito.dao.view.

Source

view.lisp.

Methods
Method: table-definition ((class dao-table-class) &key if-not-exists &allow-other-keys)
Source

table.lisp.

Method: table-definition ((class symbol) &rest args &key if-not-exists or-replace)
Method: table-definition ((class dao-table-view) &key or-replace &allow-other-keys)
Generic Function: table-indices-info (class driver-type)
Package

mito.class.table.

Source

table.lisp.

Methods
Method: table-indices-info (class driver-type)
Generic Function: table-name (class)
Package

mito.class.table.

Source

table.lisp.

Methods
Method: table-name ((class table-class))
Generic Function: table-primary-key (class)
Package

mito.class.table.

Source

table.lisp.

Methods
Method: table-primary-key ((class table-class))
Generic Function: table-serial-key (class)
Package

mito.class.table.

Source

table.lisp.

Methods
Method: table-serial-key ((class table-class))
Generic Function: update-dao (obj &key columns)

Update the object OBJ into the DB.

Package

mito.dao.

Source

dao.lisp.

Methods
Method: update-dao ((obj dao-class) &key columns)
Method: update-dao :before ((obj record-timestamps-mixin) &key columns)

6.1.5 Standalone methods

Method: direct-slot-definition-class ((class dao-table-mixin) &key)
Package

sb-mop.

Source

mixin.lisp.

Method: direct-slot-definition-class ((class table-class) &key &allow-other-keys)
Package

sb-mop.

Source

table.lisp.

Method: direct-slot-definition-class ((class dao-table-view) &key)
Package

sb-mop.

Source

view.lisp.

Method: direct-slot-definition-class ((class dao-table-class) &key)
Package

sb-mop.

Source

table.lisp.

Method: ensure-class-using-class :around ((class dao-table-class) name &rest keys &key direct-superclasses &allow-other-keys)
Package

sb-mop.

Source

table.lisp.

Method: initialize-instance :around ((class dao-table-mixin) &rest initargs &key conc-name &allow-other-keys)
Source

mixin.lisp.

Method: initialize-instance :around ((object dao-table-column-class) &rest rest-initargs &key name readers writers inflate deflate &allow-other-keys)
Source

column.lisp.

Method: initialize-instance :around ((class table-class) &rest initargs)
Source

table.lisp.

Method: initialize-instance :around ((class table-column-class) &rest rest-initargs &key name initargs ghost &allow-other-keys)
Source

column.lisp.

Method: initialize-instance :after ((class dao-table-class) &rest initargs)
Source

table.lisp.

Method: initialize-instance :around ((class dao-table-class) &rest initargs &key direct-superclasses &allow-other-keys)
Source

table.lisp.

Method: reinitialize-instance :around ((class dao-table-mixin) &rest initargs &key conc-name &allow-other-keys)
Source

mixin.lisp.

Method: reinitialize-instance :around ((class table-class) &rest initargs)
Source

table.lisp.

Method: reinitialize-instance :after ((class dao-table-class) &rest initargs)
Source

table.lisp.

Method: reinitialize-instance :around ((class dao-table-class) &rest initargs &key direct-superclasses &allow-other-keys)
Source

table.lisp.

Method: validate-superclass ((class table-class) (super standard-class))
Package

sb-mop.

Source

table.lisp.

Method: yield ((statement drop-sequence))
Package

sxql.sql-type.

Source

sxql.lisp.

Method: yield ((statement create-sequence))
Package

sxql.sql-type.

Source

sxql.lisp.

Method: yield ((statement drop-view))
Package

sxql.sql-type.

Source

view.lisp.

Method: yield ((statement create-view))
Package

sxql.sql-type.

Source

view.lisp.


6.1.6 Conditions

Condition: col-type-required
Package

mito.error.

Source

error.lisp.

Direct superclasses

invalid-definition.

Direct slots
Slot: slot
Initargs

:slot

Condition: connection-not-established
Package

mito.error.

Source

error.lisp.

Direct superclasses

mito-error.

Condition: invalid-definition
Package

mito.error.

Source

error.lisp.

Direct superclasses

mito-error.

Direct subclasses

col-type-required.

Condition: mito-error
Package

mito.error.

Source

error.lisp.

Direct superclasses

error.

Direct subclasses
Condition: no-primary-keys
Package

mito.error.

Source

error.lisp.

Direct superclasses

mito-error.

Direct slots
Slot: table
Initargs

:table


6.1.7 Classes

Class: dao-class
Package

mito.dao.mixin.

Source

mixin.lisp.

Direct methods
Direct slots
Slot: synced
Type

boolean

Readers

dao-synced.

Writers

(setf dao-synced).

Class: dao-table-class
Package

mito.dao.table.

Source

table.lisp.

Direct superclasses

dao-table-mixin.

Direct methods
Direct slots
Slot: auto-pk
Initform

(quote (:serial))

Initargs

:auto-pk

Slot: record-timestamps
Initform

(quote (t))

Initargs

:record-timestamps

Class: dao-table-column-class
Package

mito.dao.column.

Source

column.lisp.

Direct superclasses

table-column-class.

Direct methods
Direct slots
Slot: inflate
Type

(or function null)

Initargs

:inflate

Slot: deflate
Type

(or function null)

Initargs

:deflate

Class: dao-table-mixin
Package

mito.dao.mixin.

Source

mixin.lisp.

Direct superclasses

table-class.

Direct subclasses

dao-table-class.

Direct methods
Class: dao-table-view
Package

mito.dao.view.

Source

view.lisp.

Direct superclasses

table-class.

Direct methods
Direct slots
Slot: as
Initform

(error ":as query is required for dao-table-view")

Initargs

:as

Readers

dao-table-view-as-query.

Writers

This slot is read-only.

Class: record-timestamps-mixin
Package

mito.dao.mixin.

Source

mixin.lisp.

Direct methods
Direct slots
Slot: created-at
Initargs

:created-at

Readers

object-created-at.

Writers

(setf object-created-at).

Slot: updated-at
Initargs

:updated-at

Readers

object-updated-at.

Writers

(setf object-updated-at).

Class: serial-pk-mixin
Package

mito.dao.mixin.

Source

mixin.lisp.

Direct methods
Direct slots
Slot: id
Initargs

:id

Readers

%object-id.

Writers

(setf %object-id).

Class: table-class
Package

mito.class.table.

Source

table.lisp.

Direct superclasses

standard-class.

Direct subclasses
Direct methods
Direct slots
Slot: primary-key
Initargs

:primary-key

Slot: unique-keys
Initargs

:unique-keys

Slot: keys
Initargs

:keys

Slot: table-name
Initargs

:table-name

Slot: parent-column-map
Class: table-column-class
Package

mito.class.column.

Source

column.lisp.

Direct superclasses

standard-direct-slot-definition.

Direct subclasses

dao-table-column-class.

Direct methods
Direct slots
Slot: col-type
Type

(or symbol cons null)

Initargs

:col-type

Readers

%table-column-type.

Writers

(setf %table-column-type).

Slot: references
Type

mito.class.column::references

Initargs

:references

Readers

table-column-references.

Writers

This slot is read-only.

Slot: primary-key
Type

boolean

Initargs

:primary-key

Readers

primary-key-p.

Writers

(setf primary-key-p).

Slot: ghost

Option to specify slots as ghost slots. Ghost slots do not depend on a database.

Type

boolean

Initargs

:ghost

Readers

ghost-slot-p.

Writers

(setf ghost-slot-p).

Class: uuid-pk-mixin
Package

mito.dao.mixin.

Source

mixin.lisp.

Direct methods
Direct slots
Slot: id
Initform

(mito.dao.mixin::generate-uuid)

Initargs

:id

Readers

%object-uuid.

Writers

(setf %object-uuid).


6.2 Internals


6.2.1 Special variables

Special Variable: *advisory-lock-drivers*
Package

mito.migration.versions.

Source

versions.lisp.

Special Variable: *conc-name*
Package

mito.dao.column.

Source

column.lisp.

Special Variable: *db-date-format*
Package

mito.dao.column.

Source

column.lisp.

Special Variable: *db-date-format*
Package

mito.conversion.

Source

conversion.lisp.

Special Variable: *db-datetime-format*
Package

mito.dao.column.

Source

column.lisp.

Special Variable: *db-datetime-format*
Package

mito.conversion.

Source

conversion.lisp.

Special Variable: *db-datetime-format-with-out-timezone*
Package

mito.dao.column.

Source

column.lisp.

Special Variable: *db-datetime-format-without-timezone*
Package

mito.conversion.

Source

conversion.lisp.

Special Variable: *plist-row-lispify*
Package

mito.db.

Source

db.lisp.

Special Variable: *real-type-cache*
Package

mito.type.

Source

type.lisp.

Special Variable: *want-cursor*
Package

mito.dao.

Source

dao.lisp.

Special Variable: +migrator-salt+
Package

mito.migration.util.

Source

util.lisp.


6.2.2 Macros

Macro: with-advisory-lock ((connection) &body body)
Package

mito.migration.versions.

Source

versions.lisp.


6.2.3 Ordinary functions

Function: %list-diff (a b &key key test)
Package

mito.util.

Source

util.lisp.

Function: %migration-status (directory)
Package

mito.migration.versions.

Source

versions.lisp.

Function: add-referencing-slots (initargs)
Package

mito.class.table.

Source

table.lisp.

Function: add-relational-readers (class)
Package

mito.dao.mixin.

Source

mixin.lisp.

Function: all-dao-classes ()
Package

mito.migration.versions.

Source

versions.lisp.

Function: append-auto-pk-class-to-direct-superclasses-if-needed (initargs direct-superclasses)
Package

mito.dao.table.

Source

table.lisp.

Function: append-record-timestamp-mixin-to-direct-superclasses-if-needed (initargs direct-superclasses)
Package

mito.dao.table.

Source

table.lisp.

Function: ascii-string-to-octets (value)
Package

mito.migration.util.

Source

util.lisp.

Function: call-with-prepared-query (conn sql thunk &key use-prepare-cached)
Package

mito.util.

Source

util.lisp.

Function: child-columns (column class)
Package

mito.dao.

Source

dao.lisp.

Function: column-definition-equal-p (column1 column2)
Package

mito.migration.table.

Source

table.lisp.

Function: convert-nulls-to-nils (value)
Package

mito.db.

Source

db.lisp.

Function: copy-create-sequence (instance)
Package

mito.migration.sxql.

Source

sxql.lisp.

Function: copy-create-view (instance)
Package

mito.dao.view.

Source

view.lisp.

Function: copy-drop-sequence (instance)
Package

mito.migration.sxql.

Source

sxql.lisp.

Function: copy-drop-view (instance)
Package

mito.dao.view.

Source

view.lisp.

Function: copy-mito-cursor (instance)
Package

mito.dao.

Source

dao.lisp.

Function: copy-set-default (instance)
Package

mito.migration.sxql.

Source

sxql.lisp.

Function: crc32 (string)
Package

mito.migration.util.

Source

util.lisp.

Reader: create-sequence-name (instance)
Writer: (setf create-sequence-name) (instance)
Package

mito.migration.sxql.

Source

sxql.lisp.

Target Slot

name.

Function: create-sequence-p (object)
Package

mito.migration.sxql.

Source

sxql.lisp.

Reader: create-sequence-sequence-name (instance)
Writer: (setf create-sequence-sequence-name) (instance)
Package

mito.migration.sxql.

Source

sxql.lisp.

Target Slot

sequence-name.

Reader: create-view-as (instance)
Writer: (setf create-view-as) (instance)
Package

mito.dao.view.

Source

view.lisp.

Target Slot

as.

Reader: create-view-name (instance)
Writer: (setf create-view-name) (instance)
Package

mito.dao.view.

Source

view.lisp.

Target Slot

name.

Reader: create-view-or-replace (instance)
Writer: (setf create-view-or-replace) (instance)
Package

mito.dao.view.

Source

view.lisp.

Target Slot

or-replace.

Function: create-view-p (object)
Package

mito.dao.view.

Source

view.lisp.

Reader: create-view-view-name (instance)
Writer: (setf create-view-view-name) (instance)
Package

mito.dao.view.

Source

view.lisp.

Target Slot

view-name.

Reader: drop-sequence-if-exists (instance)
Writer: (setf drop-sequence-if-exists) (instance)
Package

mito.migration.sxql.

Source

sxql.lisp.

Target Slot

if-exists.

Reader: drop-sequence-name (instance)
Writer: (setf drop-sequence-name) (instance)
Package

mito.migration.sxql.

Source

sxql.lisp.

Target Slot

name.

Function: drop-sequence-p (object)
Package

mito.migration.sxql.

Source

sxql.lisp.

Reader: drop-sequence-sequence-name (instance)
Writer: (setf drop-sequence-sequence-name) (instance)
Package

mito.migration.sxql.

Source

sxql.lisp.

Target Slot

sequence-name.

Reader: drop-view-if-exists (instance)
Writer: (setf drop-view-if-exists) (instance)
Package

mito.dao.view.

Source

view.lisp.

Target Slot

if-exists.

Reader: drop-view-name (instance)
Writer: (setf drop-view-name) (instance)
Package

mito.dao.view.

Source

view.lisp.

Target Slot

name.

Function: drop-view-p (object)
Package

mito.dao.view.

Source

view.lisp.

Reader: drop-view-view-name (instance)
Writer: (setf drop-view-view-name) (instance)
Package

mito.dao.view.

Source

view.lisp.

Target Slot

view-name.

Function: ensure-sql (sql)
Package

mito.db.

Source

db.lisp.

Function: ensure-string (val)
Package

mito.db.mysql.

Source

mysql.lisp.

Function: escaped-symbol-p (symbol)
Package

mito.util.

Source

util.lisp.

Function: expand-op (object class)

Expand relational columns if the operator is :=, :!= , :in or :not-in.

Package

mito.dao.

Source

dao.lisp.

Function: expand-relational-keys (class slot-name)
Package

mito.class.table.

Source

table.lisp.

Function: fetch-dao-from-cursor (cursor)
Package

mito.dao.

Source

dao.lisp.

Function: foreign-value (obj slot)
Package

mito.dao.

Source

dao.lisp.

Function: generate-time-version ()
Package

mito.migration.versions.

Source

versions.lisp.

Function: generate-uuid ()
Package

mito.dao.mixin.

Source

mixin.lisp.

Function: generate-version (&optional current-version)
Package

mito.migration.versions.

Source

versions.lisp.

Function: get-prev-stack ()
Package

mito.logger.

Source

logger.lisp.

Function: get-serial-keys (conn table-name)
Package

mito.db.postgres.

Source

postgres.lisp.

Function: initargs-contains-primary-key (initargs)
Package

mito.dao.table.

Source

table.lisp.

Function: initargs-enables-auto-pk (initargs)
Package

mito.dao.table.

Source

table.lisp.

Function: initargs-enables-record-timestamps (initargs)
Package

mito.dao.table.

Source

table.lisp.

Function: initialize-migrations-table ()
Package

mito.migration.versions.

Source

versions.lisp.

Function: lispified-fields (query)
Package

mito.db.

Source

db.lisp.

Function: make-create-sequence (sequence-name)
Package

mito.migration.sxql.

Source

sxql.lisp.

Function: make-create-view (view-name &key or-replace as)
Package

mito.dao.view.

Source

view.lisp.

Function: make-drop-sequence (sequence-name &key if-exists)
Package

mito.migration.sxql.

Source

sxql.lisp.

Function: make-drop-view (view-name &key if-exists)
Package

mito.dao.view.

Source

view.lisp.

Function: make-mito-cursor (&key cursor fields class)
Package

mito.dao.

Source

dao.lisp.

Function: make-relational-reader-method (func-name class slot-name rel-class-name)
Package

mito.dao.mixin.

Source

mixin.lisp.

Function: make-set-clause (obj &key columns)
Package

mito.dao.

Source

dao.lisp.

Function: make-set-default (expression)
Package

mito.migration.sxql.

Source

sxql.lisp.

Function: map-all-superclasses (fn class &key key)
Package

mito.class.table.

Source

table.lisp.

Function: migration-expressions-aux (class driver-type)
Package

mito.migration.table.

Source

table.lisp.

Function: migration-expressions-between (class driver-type from-columns to-columns from-indices to-indices)
Package

mito.migration.table.

Source

table.lisp.

Function: migration-expressions-between-for-sqlite3 (class from-columns to-columns from-indices to-indices)
Package

mito.migration.table.

Source

table.lisp.

Function: migration-file-version (file)
Package

mito.migration.versions.

Source

versions.lisp.

Function: migration-files (base-directory &key sort-by)
Package

mito.migration.versions.

Source

versions.lisp.

Reader: mito-cursor-class (instance)
Writer: (setf mito-cursor-class) (instance)
Package

mito.dao.

Source

dao.lisp.

Target Slot

class.

Reader: mito-cursor-cursor (instance)
Writer: (setf mito-cursor-cursor) (instance)
Package

mito.dao.

Source

dao.lisp.

Target Slot

cursor.

Reader: mito-cursor-fields (instance)
Writer: (setf mito-cursor-fields) (instance)
Package

mito.dao.

Source

dao.lisp.

Target Slot

fields.

Function: mito-cursor-p (object)
Package

mito.dao.

Source

dao.lisp.

Function: obsolete-prepared-statement-p (conn e)
Package

mito.util.

Source

util.lisp.

Function: omit-default (definitions)
Package

mito.migration.table.

Source

table.lisp.

Function: parse-col-type (col-type)
Package

mito.class.column.

Source

column.lisp.

Function: parse-type-vars (vars)
Package

mito.type.

Source

type.lisp.

Function: plist= (plist1 plist2 &key test)
Package

mito.migration.table.

Source

table.lisp.

Function: rel-column-name (name pk-name)
Package

mito.class.table.

Source

table.lisp.

Function: retrieve-from-query (query format)
Package

mito.db.

Source

db.lisp.

Function: schema-migrations-table-definition ()
Package

mito.migration.versions.

Source

versions.lisp.

Function: select-by-sql-as-cursor (class sql &key binds)
Package

mito.dao.

Source

dao.lisp.

Function: set-default-expression (instance)
Package

mito.migration.sxql.

Source

sxql.lisp.

Function: (setf set-default-expression) (instance)
Package

mito.migration.sxql.

Source

sxql.lisp.

Reader: set-default-name (instance)
Writer: (setf set-default-name) (instance)
Package

mito.migration.sxql.

Source

sxql.lisp.

Target Slot

name.

Function: set-default-p (object)
Package

mito.migration.sxql.

Source

sxql.lisp.

Function: slot-foreign-value (object class slot-name)
Package

mito.dao.

Source

dao.lisp.

Function: sxql-to-sql (sql)
Package

mito.db.

Source

db.lisp.

Function: table-info (conn table-name)
Package

mito.db.sqlite3.

Source

sqlite3.lisp.

Function: table-primary-keys (conn table-name)
Package

mito.db.sqlite3.

Source

sqlite3.lisp.

Function: trace-sql (sql params row-count took-usec)
Package

mito.logger.

Source

logger.lisp.

Function: where-and (fields-and-values class)
Package

mito.dao.

Source

dao.lisp.


6.2.4 Generic functions

Generic Reader: %object-id (object)
Package

mito.dao.mixin.

Methods
Reader Method: %object-id ((serial-pk-mixin serial-pk-mixin))

automatically generated reader method

Source

mixin.lisp.

Target Slot

id.

Generic Writer: (setf %object-id) (object)
Package

mito.dao.mixin.

Methods
Writer Method: (setf %object-id) ((serial-pk-mixin serial-pk-mixin))

automatically generated writer method

Source

mixin.lisp.

Target Slot

id.

Generic Reader: %object-uuid (object)
Package

mito.dao.mixin.

Methods
Reader Method: %object-uuid ((uuid-pk-mixin uuid-pk-mixin))

automatically generated reader method

Source

mixin.lisp.

Target Slot

id.

Generic Writer: (setf %object-uuid) (object)
Package

mito.dao.mixin.

Methods
Writer Method: (setf %object-uuid) ((uuid-pk-mixin uuid-pk-mixin))

automatically generated writer method

Source

mixin.lisp.

Target Slot

id.

Generic Reader: %table-column-type (object)
Package

mito.class.column.

Methods
Reader Method: %table-column-type ((table-column-class table-column-class))

automatically generated reader method

Source

column.lisp.

Target Slot

col-type.

Generic Writer: (setf %table-column-type) (object)
Package

mito.class.column.

Methods
Writer Method: (setf %table-column-type) ((table-column-class table-column-class))

automatically generated writer method

Source

column.lisp.

Target Slot

col-type.


6.2.5 Structures

Structure: create-sequence
Package

mito.migration.sxql.

Source

sxql.lisp.

Direct superclasses

sql-statement.

Direct methods

yield.

Direct slots
Slot: name
Package

sxql.sql-type.

Type

string

Initform

"create sequence"

Readers

create-sequence-name.

Writers

(setf create-sequence-name).

Slot: sequence-name
Readers

create-sequence-sequence-name.

Writers

(setf create-sequence-sequence-name).

Structure: create-view
Package

mito.dao.view.

Source

view.lisp.

Direct superclasses

sql-statement.

Direct methods

yield.

Direct slots
Slot: name
Package

sxql.sql-type.

Type

string

Initform

"create view"

Readers

create-view-name.

Writers

(setf create-view-name).

Slot: view-name
Readers

create-view-view-name.

Writers

(setf create-view-view-name).

Slot: or-replace
Readers

create-view-or-replace.

Writers

(setf create-view-or-replace).

Slot: as
Readers

create-view-as.

Writers

(setf create-view-as).

Structure: drop-sequence
Package

mito.migration.sxql.

Source

sxql.lisp.

Direct superclasses

sql-statement.

Direct methods

yield.

Direct slots
Slot: name
Package

sxql.sql-type.

Type

string

Initform

"drop sequence"

Readers

drop-sequence-name.

Writers

(setf drop-sequence-name).

Slot: sequence-name
Readers

drop-sequence-sequence-name.

Writers

(setf drop-sequence-sequence-name).

Slot: if-exists
Readers

drop-sequence-if-exists.

Writers

(setf drop-sequence-if-exists).

Structure: drop-view
Package

mito.dao.view.

Source

view.lisp.

Direct superclasses

sql-statement.

Direct methods

yield.

Direct slots
Slot: name
Package

sxql.sql-type.

Type

string

Initform

"drop view"

Readers

drop-view-name.

Writers

(setf drop-view-name).

Slot: view-name
Readers

drop-view-view-name.

Writers

(setf drop-view-view-name).

Slot: if-exists
Readers

drop-view-if-exists.

Writers

(setf drop-view-if-exists).

Structure: mito-cursor
Package

mito.dao.

Source

dao.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: cursor
Readers

mito-cursor-cursor.

Writers

(setf mito-cursor-cursor).

Slot: fields
Package

sxql.

Readers

mito-cursor-fields.

Writers

(setf mito-cursor-fields).

Slot: class
Package

common-lisp.

Readers

mito-cursor-class.

Writers

(setf mito-cursor-class).

Structure: set-default
Package

mito.migration.sxql.

Source

sxql.lisp.

Direct superclasses

expression-clause.

Direct slots
Slot: name
Package

sxql.sql-type.

Type

string

Initform

"set default"

Readers

set-default-name.

Writers

(setf set-default-name).


6.2.6 Types

Type: references ()
Package

mito.class.column.

Source

column.lisp.


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (  
A   C   D   E   F   G   I   L   M   O   P   R   S   T   U   V   W   Y  
Index Entry  Section

%
%list-diff: Private ordinary functions
%migration-status: Private ordinary functions
%object-id: Private generic functions
%object-id: Private generic functions
%object-uuid: Private generic functions
%object-uuid: Private generic functions
%table-column-type: Private generic functions
%table-column-type: Private generic functions

(
(setf %object-id): Private generic functions
(setf %object-id): Private generic functions
(setf %object-uuid): Private generic functions
(setf %object-uuid): Private generic functions
(setf %table-column-type): Private generic functions
(setf %table-column-type): Private generic functions
(setf create-sequence-name): Private ordinary functions
(setf create-sequence-sequence-name): Private ordinary functions
(setf create-view-as): Private ordinary functions
(setf create-view-name): Private ordinary functions
(setf create-view-or-replace): Private ordinary functions
(setf create-view-view-name): Private ordinary functions
(setf dao-synced): Public generic functions
(setf dao-synced): Public generic functions
(setf drop-sequence-if-exists): Private ordinary functions
(setf drop-sequence-name): Private ordinary functions
(setf drop-sequence-sequence-name): Private ordinary functions
(setf drop-view-if-exists): Private ordinary functions
(setf drop-view-name): Private ordinary functions
(setf drop-view-view-name): Private ordinary functions
(setf ghost-slot-p): Public generic functions
(setf ghost-slot-p): Public generic functions
(setf mito-cursor-class): Private ordinary functions
(setf mito-cursor-cursor): Private ordinary functions
(setf mito-cursor-fields): Private ordinary functions
(setf object-created-at): Public generic functions
(setf object-created-at): Public generic functions
(setf object-id): Public generic functions
(setf object-id): Public generic functions
(setf object-id): Public generic functions
(setf object-updated-at): Public generic functions
(setf object-updated-at): Public generic functions
(setf primary-key-p): Public generic functions
(setf primary-key-p): Public generic functions
(setf set-default-expression): Private ordinary functions
(setf set-default-name): Private ordinary functions

A
acquire-advisory-lock: Public ordinary functions
acquire-advisory-lock: Public ordinary functions
acquire-advisory-lock: Public ordinary functions
add-referencing-slots: Private ordinary functions
add-relational-readers: Private ordinary functions
all-dao-classes: Private ordinary functions
all-migration-expressions: Public ordinary functions
append-auto-pk-class-to-direct-superclasses-if-needed: Private ordinary functions
append-record-timestamp-mixin-to-direct-superclasses-if-needed: Private ordinary functions
ascii-string-to-octets: Private ordinary functions

C
call-with-prepared-query: Private ordinary functions
check-connected: Public ordinary functions
child-columns: Private ordinary functions
column-definition-equal-p: Private ordinary functions
column-definitions: Public ordinary functions
column-definitions: Public ordinary functions
column-definitions: Public ordinary functions
column-definitions: Public ordinary functions
connect-toplevel: Public ordinary functions
connected-p: Public ordinary functions
connection-database-name: Public ordinary functions
connection-quote-character: Public ordinary functions
contains-class-or-subclasses: Public ordinary functions
convert-for-driver-type: Public generic functions
convert-for-driver-type: Public generic functions
convert-for-driver-type: Public generic functions
convert-for-driver-type: Public generic functions
convert-for-driver-type: Public generic functions
convert-for-driver-type: Public generic functions
convert-for-driver-type: Public generic functions
convert-for-driver-type: Public generic functions
convert-for-driver-type: Public generic functions
convert-for-driver-type: Public generic functions
convert-for-driver-type: Public generic functions
convert-nulls-to-nils: Private ordinary functions
copy-create-sequence: Private ordinary functions
copy-create-view: Private ordinary functions
copy-drop-sequence: Private ordinary functions
copy-drop-view: Private ordinary functions
copy-mito-cursor: Private ordinary functions
copy-set-default: Private ordinary functions
count-dao: Public ordinary functions
crc32: Private ordinary functions
create-dao: Public generic functions
create-dao: Public generic functions
create-dao: Public generic functions
create-sequence-name: Private ordinary functions
create-sequence-p: Private ordinary functions
create-sequence-sequence-name: Private ordinary functions
create-table-sxql: Public generic functions
create-table-sxql: Public generic functions
create-view-as: Private ordinary functions
create-view-name: Private ordinary functions
create-view-or-replace: Private ordinary functions
create-view-p: Private ordinary functions
create-view-view-name: Private ordinary functions
current-migration-version: Public ordinary functions

D
dao-synced: Public generic functions
dao-synced: Public generic functions
dao-table-column-deflate: Public generic functions
dao-table-column-deflate: Public generic functions
dao-table-column-inflate: Public generic functions
dao-table-column-inflate: Public generic functions
dao-table-view-as-query: Public generic functions
dao-table-view-as-query: Public generic functions
database-column-slots: Public generic functions
database-column-slots: Public generic functions
deflate-for-col-type: Public generic functions
deflate-for-col-type: Public generic functions
deflate-for-col-type: Public generic functions
deflate-for-col-type: Public generic functions
deflate-for-col-type: Public generic functions
deflate-for-col-type: Public generic functions
deflate-for-col-type: Public generic functions
deftable: Public macros
delete-by-values: Public generic functions
delete-by-values: Public generic functions
delete-by-values: Public generic functions
delete-dao: Public generic functions
delete-dao: Public generic functions
depending-table-classes: Public ordinary functions
direct-slot-definition-class: Public standalone methods
direct-slot-definition-class: Public standalone methods
direct-slot-definition-class: Public standalone methods
direct-slot-definition-class: Public standalone methods
disconnect-toplevel: Public ordinary functions
do-select: Public macros
driver-type: Public ordinary functions
drop-sequence-if-exists: Private ordinary functions
drop-sequence-name: Private ordinary functions
drop-sequence-p: Private ordinary functions
drop-sequence-sequence-name: Private ordinary functions
drop-view-if-exists: Private ordinary functions
drop-view-name: Private ordinary functions
drop-view-p: Private ordinary functions
drop-view-view-name: Private ordinary functions

E
ensure-class: Public ordinary functions
ensure-class-using-class: Public standalone methods
ensure-sql: Private ordinary functions
ensure-string: Private ordinary functions
ensure-table-exists: Public ordinary functions
escaped-symbol-p: Private ordinary functions
execute-sql: Public generic functions
execute-sql: Public generic functions
execute-sql: Public generic functions
execute-with-retry: Public ordinary functions
expand-op: Private ordinary functions
expand-relational-keys: Private ordinary functions

F
fetch-dao-from-cursor: Private ordinary functions
find-child-columns: Public ordinary functions
find-dao: Public ordinary functions
find-parent-column: Public ordinary functions
find-slot-by-name: Public ordinary functions
foreign-value: Private ordinary functions
Function, %list-diff: Private ordinary functions
Function, %migration-status: Private ordinary functions
Function, (setf create-sequence-name): Private ordinary functions
Function, (setf create-sequence-sequence-name): Private ordinary functions
Function, (setf create-view-as): Private ordinary functions
Function, (setf create-view-name): Private ordinary functions
Function, (setf create-view-or-replace): Private ordinary functions
Function, (setf create-view-view-name): Private ordinary functions
Function, (setf drop-sequence-if-exists): Private ordinary functions
Function, (setf drop-sequence-name): Private ordinary functions
Function, (setf drop-sequence-sequence-name): Private ordinary functions
Function, (setf drop-view-if-exists): Private ordinary functions
Function, (setf drop-view-name): Private ordinary functions
Function, (setf drop-view-view-name): Private ordinary functions
Function, (setf mito-cursor-class): Private ordinary functions
Function, (setf mito-cursor-cursor): Private ordinary functions
Function, (setf mito-cursor-fields): Private ordinary functions
Function, (setf set-default-expression): Private ordinary functions
Function, (setf set-default-name): Private ordinary functions
Function, acquire-advisory-lock: Public ordinary functions
Function, acquire-advisory-lock: Public ordinary functions
Function, acquire-advisory-lock: Public ordinary functions
Function, add-referencing-slots: Private ordinary functions
Function, add-relational-readers: Private ordinary functions
Function, all-dao-classes: Private ordinary functions
Function, all-migration-expressions: Public ordinary functions
Function, append-auto-pk-class-to-direct-superclasses-if-needed: Private ordinary functions
Function, append-record-timestamp-mixin-to-direct-superclasses-if-needed: Private ordinary functions
Function, ascii-string-to-octets: Private ordinary functions
Function, call-with-prepared-query: Private ordinary functions
Function, check-connected: Public ordinary functions
Function, child-columns: Private ordinary functions
Function, column-definition-equal-p: Private ordinary functions
Function, column-definitions: Public ordinary functions
Function, column-definitions: Public ordinary functions
Function, column-definitions: Public ordinary functions
Function, column-definitions: Public ordinary functions
Function, connect-toplevel: Public ordinary functions
Function, connected-p: Public ordinary functions
Function, connection-database-name: Public ordinary functions
Function, connection-quote-character: Public ordinary functions
Function, contains-class-or-subclasses: Public ordinary functions
Function, convert-nulls-to-nils: Private ordinary functions
Function, copy-create-sequence: Private ordinary functions
Function, copy-create-view: Private ordinary functions
Function, copy-drop-sequence: Private ordinary functions
Function, copy-drop-view: Private ordinary functions
Function, copy-mito-cursor: Private ordinary functions
Function, copy-set-default: Private ordinary functions
Function, count-dao: Public ordinary functions
Function, crc32: Private ordinary functions
Function, create-sequence-name: Private ordinary functions
Function, create-sequence-p: Private ordinary functions
Function, create-sequence-sequence-name: Private ordinary functions
Function, create-view-as: Private ordinary functions
Function, create-view-name: Private ordinary functions
Function, create-view-or-replace: Private ordinary functions
Function, create-view-p: Private ordinary functions
Function, create-view-view-name: Private ordinary functions
Function, current-migration-version: Public ordinary functions
Function, depending-table-classes: Public ordinary functions
Function, disconnect-toplevel: Public ordinary functions
Function, driver-type: Public ordinary functions
Function, drop-sequence-if-exists: Private ordinary functions
Function, drop-sequence-name: Private ordinary functions
Function, drop-sequence-p: Private ordinary functions
Function, drop-sequence-sequence-name: Private ordinary functions
Function, drop-view-if-exists: Private ordinary functions
Function, drop-view-name: Private ordinary functions
Function, drop-view-p: Private ordinary functions
Function, drop-view-view-name: Private ordinary functions
Function, ensure-class: Public ordinary functions
Function, ensure-sql: Private ordinary functions
Function, ensure-string: Private ordinary functions
Function, ensure-table-exists: Public ordinary functions
Function, escaped-symbol-p: Private ordinary functions
Function, execute-with-retry: Public ordinary functions
Function, expand-op: Private ordinary functions
Function, expand-relational-keys: Private ordinary functions
Function, fetch-dao-from-cursor: Private ordinary functions
Function, find-child-columns: Public ordinary functions
Function, find-dao: Public ordinary functions
Function, find-parent-column: Public ordinary functions
Function, find-slot-by-name: Public ordinary functions
Function, foreign-value: Private ordinary functions
Function, generate-advisory-lock-id: Public ordinary functions
Function, generate-migrations: Public ordinary functions
Function, generate-time-version: Private ordinary functions
Function, generate-uuid: Private ordinary functions
Function, generate-version: Private ordinary functions
Function, get-column-real-type: Public ordinary functions
Function, get-prev-stack: Private ordinary functions
Function, get-serial-keys: Private ordinary functions
Function, group-by-plist: Public ordinary functions
Function, include-foreign-objects: Public ordinary functions
Function, initargs-contains-primary-key: Private ordinary functions
Function, initargs-enables-auto-pk: Private ordinary functions
Function, initargs-enables-record-timestamps: Private ordinary functions
Function, initialize-migrations-table: Private ordinary functions
Function, last-insert-id: Public ordinary functions
Function, last-insert-id: Public ordinary functions
Function, last-insert-id: Public ordinary functions
Function, last-insert-id: Public ordinary functions
Function, lispified-fields: Private ordinary functions
Function, lispify: Public ordinary functions
Function, list-diff: Public ordinary functions
Function, make-create-sequence: Private ordinary functions
Function, make-create-view: Private ordinary functions
Function, make-drop-sequence: Private ordinary functions
Function, make-drop-view: Private ordinary functions
Function, make-mito-cursor: Private ordinary functions
Function, make-relational-reader-method: Private ordinary functions
Function, make-set-clause: Private ordinary functions
Function, make-set-default: Private ordinary functions
Function, map-all-superclasses: Private ordinary functions
Function, migrate: Public ordinary functions
Function, migration-expressions: Public ordinary functions
Function, migration-expressions-aux: Private ordinary functions
Function, migration-expressions-between: Private ordinary functions
Function, migration-expressions-between-for-sqlite3: Private ordinary functions
Function, migration-file-version: Private ordinary functions
Function, migration-files: Private ordinary functions
Function, migration-status: Public ordinary functions
Function, mito-cursor-class: Private ordinary functions
Function, mito-cursor-cursor: Private ordinary functions
Function, mito-cursor-fields: Private ordinary functions
Function, mito-cursor-p: Private ordinary functions
Function, mito-sql-logger: Public ordinary functions
Function, obsolete-prepared-statement-p: Private ordinary functions
Function, omit-default: Private ordinary functions
Function, parse-col-type: Private ordinary functions
Function, parse-dbtype: Public ordinary functions
Function, parse-statements: Public ordinary functions
Function, parse-type-vars: Private ordinary functions
Function, plist=: Private ordinary functions
Function, recreate-table: Public ordinary functions
Function, rel-column-name: Private ordinary functions
Function, release-advisory-lock: Public ordinary functions
Function, release-advisory-lock: Public ordinary functions
Function, release-advisory-lock: Public ordinary functions
Function, retrieve-dao: Public ordinary functions
Function, retrieve-from-query: Private ordinary functions
Function, schema-migrations-table-definition: Private ordinary functions
Function, select-by-sql: Public ordinary functions
Function, select-by-sql-as-cursor: Private ordinary functions
Function, set-default-expression: Private ordinary functions
Function, set-default-name: Private ordinary functions
Function, set-default-p: Private ordinary functions
Function, slot-foreign-value: Private ordinary functions
Function, sxql-to-sql: Private ordinary functions
Function, symbol-name-literally: Public ordinary functions
Function, table-column-slots: Public ordinary functions
Function, table-direct-column-slots: Public ordinary functions
Function, table-exists-p: Public ordinary functions
Function, table-indices: Public ordinary functions
Function, table-indices: Public ordinary functions
Function, table-indices: Public ordinary functions
Function, table-indices: Public ordinary functions
Function, table-info: Private ordinary functions
Function, table-primary-keys: Private ordinary functions
Function, table-view-query: Public ordinary functions
Function, table-view-query: Public ordinary functions
Function, table-view-query: Public ordinary functions
Function, trace-sql: Private ordinary functions
Function, unlispify: Public ordinary functions
Function, update-migration-version: Public ordinary functions
Function, where-and: Private ordinary functions

G
generate-advisory-lock-id: Public ordinary functions
generate-migrations: Public ordinary functions
generate-time-version: Private ordinary functions
generate-uuid: Private ordinary functions
generate-version: Private ordinary functions
Generic Function, %object-id: Private generic functions
Generic Function, %object-uuid: Private generic functions
Generic Function, %table-column-type: Private generic functions
Generic Function, (setf %object-id): Private generic functions
Generic Function, (setf %object-uuid): Private generic functions
Generic Function, (setf %table-column-type): Private generic functions
Generic Function, (setf dao-synced): Public generic functions
Generic Function, (setf ghost-slot-p): Public generic functions
Generic Function, (setf object-created-at): Public generic functions
Generic Function, (setf object-id): Public generic functions
Generic Function, (setf object-updated-at): Public generic functions
Generic Function, (setf primary-key-p): Public generic functions
Generic Function, convert-for-driver-type: Public generic functions
Generic Function, create-dao: Public generic functions
Generic Function, create-table-sxql: Public generic functions
Generic Function, dao-synced: Public generic functions
Generic Function, dao-table-column-deflate: Public generic functions
Generic Function, dao-table-column-inflate: Public generic functions
Generic Function, dao-table-view-as-query: Public generic functions
Generic Function, database-column-slots: Public generic functions
Generic Function, deflate-for-col-type: Public generic functions
Generic Function, delete-by-values: Public generic functions
Generic Function, delete-dao: Public generic functions
Generic Function, execute-sql: Public generic functions
Generic Function, ghost-slot-p: Public generic functions
Generic Function, inflate-for-col-type: Public generic functions
Generic Function, insert-dao: Public generic functions
Generic Function, make-dao-instance: Public generic functions
Generic Function, migrate-table: Public generic functions
Generic Function, object-created-at: Public generic functions
Generic Function, object-id: Public generic functions
Generic Function, object-updated-at: Public generic functions
Generic Function, object=: Public generic functions
Generic Function, primary-key-p: Public generic functions
Generic Function, retrieve-by-sql: Public generic functions
Generic Function, save-dao: Public generic functions
Generic Function, table-column-info: Public generic functions
Generic Function, table-column-info-for-create-table: Public generic functions
Generic Function, table-column-name: Public generic functions
Generic Function, table-column-not-null-p: Public generic functions
Generic Function, table-column-references: Public generic functions
Generic Function, table-column-references-column: Public generic functions
Generic Function, table-column-type: Public generic functions
Generic Function, table-definition: Public generic functions
Generic Function, table-indices-info: Public generic functions
Generic Function, table-name: Public generic functions
Generic Function, table-primary-key: Public generic functions
Generic Function, table-serial-key: Public generic functions
Generic Function, update-dao: Public generic functions
get-column-real-type: Public ordinary functions
get-prev-stack: Private ordinary functions
get-serial-keys: Private ordinary functions
ghost-slot-p: Public generic functions
ghost-slot-p: Public generic functions
group-by-plist: Public ordinary functions

I
include-foreign-objects: Public ordinary functions
inflate-for-col-type: Public generic functions
inflate-for-col-type: Public generic functions
inflate-for-col-type: Public generic functions
inflate-for-col-type: Public generic functions
inflate-for-col-type: Public generic functions
inflate-for-col-type: Public generic functions
inflate-for-col-type: Public generic functions
inflate-for-col-type: Public generic functions
inflate-for-col-type: Public generic functions
initargs-contains-primary-key: Private ordinary functions
initargs-enables-auto-pk: Private ordinary functions
initargs-enables-record-timestamps: Private ordinary functions
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-migrations-table: Private ordinary functions
insert-dao: Public generic functions
insert-dao: Public generic functions
insert-dao: Public generic functions

L
last-insert-id: Public ordinary functions
last-insert-id: Public ordinary functions
last-insert-id: Public ordinary functions
last-insert-id: Public ordinary functions
lispified-fields: Private ordinary functions
lispify: Public ordinary functions
list-diff: Public ordinary functions

M
Macro, deftable: Public macros
Macro, do-select: Public macros
Macro, select-dao: Public macros
Macro, with-advisory-lock: Private macros
Macro, with-prepared-query: Public macros
Macro, with-quote-char: Public macros
Macro, with-sql-logging: Public macros
Macro, with-trace-sql: Public macros
make-create-sequence: Private ordinary functions
make-create-view: Private ordinary functions
make-dao-instance: Public generic functions
make-dao-instance: Public generic functions
make-dao-instance: Public generic functions
make-drop-sequence: Private ordinary functions
make-drop-view: Private ordinary functions
make-mito-cursor: Private ordinary functions
make-relational-reader-method: Private ordinary functions
make-set-clause: Private ordinary functions
make-set-default: Private ordinary functions
map-all-superclasses: Private ordinary functions
Method, %object-id: Private generic functions
Method, %object-uuid: Private generic functions
Method, %table-column-type: Private generic functions
Method, (setf %object-id): Private generic functions
Method, (setf %object-uuid): Private generic functions
Method, (setf %table-column-type): Private generic functions
Method, (setf dao-synced): Public generic functions
Method, (setf ghost-slot-p): Public generic functions
Method, (setf object-created-at): Public generic functions
Method, (setf object-id): Public generic functions
Method, (setf object-id): Public generic functions
Method, (setf object-updated-at): Public generic functions
Method, (setf primary-key-p): Public generic functions
Method, convert-for-driver-type: Public generic functions
Method, convert-for-driver-type: Public generic functions
Method, convert-for-driver-type: Public generic functions
Method, convert-for-driver-type: Public generic functions
Method, convert-for-driver-type: Public generic functions
Method, convert-for-driver-type: Public generic functions
Method, convert-for-driver-type: Public generic functions
Method, convert-for-driver-type: Public generic functions
Method, convert-for-driver-type: Public generic functions
Method, convert-for-driver-type: Public generic functions
Method, create-dao: Public generic functions
Method, create-dao: Public generic functions
Method, create-table-sxql: Public generic functions
Method, dao-synced: Public generic functions
Method, dao-table-column-deflate: Public generic functions
Method, dao-table-column-inflate: Public generic functions
Method, dao-table-view-as-query: Public generic functions
Method, database-column-slots: Public generic functions
Method, deflate-for-col-type: Public generic functions
Method, deflate-for-col-type: Public generic functions
Method, deflate-for-col-type: Public generic functions
Method, deflate-for-col-type: Public generic functions
Method, deflate-for-col-type: Public generic functions
Method, deflate-for-col-type: Public generic functions
Method, delete-by-values: Public generic functions
Method, delete-by-values: Public generic functions
Method, delete-dao: Public generic functions
Method, direct-slot-definition-class: Public standalone methods
Method, direct-slot-definition-class: Public standalone methods
Method, direct-slot-definition-class: Public standalone methods
Method, direct-slot-definition-class: Public standalone methods
Method, ensure-class-using-class: Public standalone methods
Method, execute-sql: Public generic functions
Method, execute-sql: Public generic functions
Method, ghost-slot-p: Public generic functions
Method, inflate-for-col-type: Public generic functions
Method, inflate-for-col-type: Public generic functions
Method, inflate-for-col-type: Public generic functions
Method, inflate-for-col-type: Public generic functions
Method, inflate-for-col-type: Public generic functions
Method, inflate-for-col-type: Public generic functions
Method, inflate-for-col-type: Public generic functions
Method, inflate-for-col-type: Public generic functions
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, insert-dao: Public generic functions
Method, insert-dao: Public generic functions
Method, make-dao-instance: Public generic functions
Method, make-dao-instance: Public generic functions
Method, migrate-table: Public generic functions
Method, migrate-table: Public generic functions
Method, object-created-at: Public generic functions
Method, object-id: Public generic functions
Method, object-id: Public generic functions
Method, object-updated-at: Public generic functions
Method, object=: Public generic functions
Method, primary-key-p: Public generic functions
Method, reinitialize-instance: Public standalone methods
Method, reinitialize-instance: Public standalone methods
Method, reinitialize-instance: Public standalone methods
Method, reinitialize-instance: Public standalone methods
Method, retrieve-by-sql: Public generic functions
Method, retrieve-by-sql: Public generic functions
Method, save-dao: Public generic functions
Method, table-column-info: Public generic functions
Method, table-column-info: Public generic functions
Method, table-column-info: Public generic functions
Method, table-column-info: Public generic functions
Method, table-column-info-for-create-table: Public generic functions
Method, table-column-info-for-create-table: Public generic functions
Method, table-column-info-for-create-table: Public generic functions
Method, table-column-info-for-create-table: Public generic functions
Method, table-column-info-for-create-table: Public generic functions
Method, table-column-name: Public generic functions
Method, table-column-not-null-p: Public generic functions
Method, table-column-references: Public generic functions
Method, table-column-references-column: Public generic functions
Method, table-column-type: Public generic functions
Method, table-definition: Public generic functions
Method, table-definition: Public generic functions
Method, table-definition: Public generic functions
Method, table-indices-info: Public generic functions
Method, table-name: Public generic functions
Method, table-primary-key: Public generic functions
Method, table-serial-key: Public generic functions
Method, update-dao: Public generic functions
Method, update-dao: Public generic functions
Method, validate-superclass: Public standalone methods
Method, yield: Public standalone methods
Method, yield: Public standalone methods
Method, yield: Public standalone methods
Method, yield: Public standalone methods
migrate: Public ordinary functions
migrate-table: Public generic functions
migrate-table: Public generic functions
migrate-table: Public generic functions
migration-expressions: Public ordinary functions
migration-expressions-aux: Private ordinary functions
migration-expressions-between: Private ordinary functions
migration-expressions-between-for-sqlite3: Private ordinary functions
migration-file-version: Private ordinary functions
migration-files: Private ordinary functions
migration-status: Public ordinary functions
mito-cursor-class: Private ordinary functions
mito-cursor-cursor: Private ordinary functions
mito-cursor-fields: Private ordinary functions
mito-cursor-p: Private ordinary functions
mito-sql-logger: Public ordinary functions

O
object-created-at: Public generic functions
object-created-at: Public generic functions
object-id: Public generic functions
object-id: Public generic functions
object-id: Public generic functions
object-updated-at: Public generic functions
object-updated-at: Public generic functions
object=: Public generic functions
object=: Public generic functions
obsolete-prepared-statement-p: Private ordinary functions
omit-default: Private ordinary functions

P
parse-col-type: Private ordinary functions
parse-dbtype: Public ordinary functions
parse-statements: Public ordinary functions
parse-type-vars: Private ordinary functions
plist=: Private ordinary functions
primary-key-p: Public generic functions
primary-key-p: Public generic functions

R
recreate-table: Public ordinary functions
reinitialize-instance: Public standalone methods
reinitialize-instance: Public standalone methods
reinitialize-instance: Public standalone methods
reinitialize-instance: Public standalone methods
rel-column-name: Private ordinary functions
release-advisory-lock: Public ordinary functions
release-advisory-lock: Public ordinary functions
release-advisory-lock: Public ordinary functions
retrieve-by-sql: Public generic functions
retrieve-by-sql: Public generic functions
retrieve-by-sql: Public generic functions
retrieve-dao: Public ordinary functions
retrieve-from-query: Private ordinary functions

S
save-dao: Public generic functions
save-dao: Public generic functions
schema-migrations-table-definition: Private ordinary functions
select-by-sql: Public ordinary functions
select-by-sql-as-cursor: Private ordinary functions
select-dao: Public macros
set-default-expression: Private ordinary functions
set-default-name: Private ordinary functions
set-default-p: Private ordinary functions
slot-foreign-value: Private ordinary functions
sxql-to-sql: Private ordinary functions
symbol-name-literally: Public ordinary functions

T
table-column-info: Public generic functions
table-column-info: Public generic functions
table-column-info: Public generic functions
table-column-info: Public generic functions
table-column-info: Public generic functions
table-column-info-for-create-table: Public generic functions
table-column-info-for-create-table: Public generic functions
table-column-info-for-create-table: Public generic functions
table-column-info-for-create-table: Public generic functions
table-column-info-for-create-table: Public generic functions
table-column-info-for-create-table: Public generic functions
table-column-name: Public generic functions
table-column-name: Public generic functions
table-column-not-null-p: Public generic functions
table-column-not-null-p: Public generic functions
table-column-references: Public generic functions
table-column-references: Public generic functions
table-column-references-column: Public generic functions
table-column-references-column: Public generic functions
table-column-slots: Public ordinary functions
table-column-type: Public generic functions
table-column-type: Public generic functions
table-definition: Public generic functions
table-definition: Public generic functions
table-definition: Public generic functions
table-definition: Public generic functions
table-direct-column-slots: Public ordinary functions
table-exists-p: Public ordinary functions
table-indices: Public ordinary functions
table-indices: Public ordinary functions
table-indices: Public ordinary functions
table-indices: Public ordinary functions
table-indices-info: Public generic functions
table-indices-info: Public generic functions
table-info: Private ordinary functions
table-name: Public generic functions
table-name: Public generic functions
table-primary-key: Public generic functions
table-primary-key: Public generic functions
table-primary-keys: Private ordinary functions
table-serial-key: Public generic functions
table-serial-key: Public generic functions
table-view-query: Public ordinary functions
table-view-query: Public ordinary functions
table-view-query: Public ordinary functions
trace-sql: Private ordinary functions

U
unlispify: Public ordinary functions
update-dao: Public generic functions
update-dao: Public generic functions
update-dao: Public generic functions
update-migration-version: Public ordinary functions

V
validate-superclass: Public standalone methods

W
where-and: Private ordinary functions
with-advisory-lock: Private macros
with-prepared-query: Public macros
with-quote-char: Public macros
with-sql-logging: Public macros
with-trace-sql: Public macros

Y
yield: Public standalone methods
yield: Public standalone methods
yield: Public standalone methods
yield: Public standalone methods


A.3 Variables

Jump to:   *   +  
A   C   D   F   G   I   K   N   O   P   R   S   T   U   V  
Index Entry  Section

*
*advisory-lock-drivers*: Private special variables
*auto-migration-mode*: Public special variables
*conc-name*: Private special variables
*connection*: Public special variables
*db-date-format*: Private special variables
*db-date-format*: Private special variables
*db-datetime-format*: Private special variables
*db-datetime-format*: Private special variables
*db-datetime-format-with-out-timezone*: Private special variables
*db-datetime-format-without-timezone*: Private special variables
*lack-middleware-mito*: Public special variables
*migration-keep-temp-tables*: Public special variables
*migration-version-format*: Public special variables
*mito-logger-stream*: Public special variables
*mito-migration-logger-stream*: Public special variables
*plist-row-lispify*: Private special variables
*real-type-cache*: Private special variables
*trace-sql-hooks*: Public special variables
*use-prepare-cached*: Public special variables
*want-cursor*: Private special variables

+
+migrator-salt+: Private special variables

A
as: Public classes
as: Private structures
auto-pk: Public classes

C
class: Private structures
col-type: Public classes
created-at: Public classes
cursor: Private structures

D
deflate: Public classes

F
fields: Private structures

G
ghost: Public classes

I
id: Public classes
id: Public classes
if-exists: Private structures
if-exists: Private structures
inflate: Public classes

K
keys: Public classes

N
name: Private structures
name: Private structures
name: Private structures
name: Private structures
name: Private structures

O
or-replace: Private structures

P
parent-column-map: Public classes
primary-key: Public classes
primary-key: Public classes

R
record-timestamps: Public classes
references: Public classes

S
sequence-name: Private structures
sequence-name: Private structures
slot: Public conditions
Slot, as: Public classes
Slot, as: Private structures
Slot, auto-pk: Public classes
Slot, class: Private structures
Slot, col-type: Public classes
Slot, created-at: Public classes
Slot, cursor: Private structures
Slot, deflate: Public classes
Slot, fields: Private structures
Slot, ghost: Public classes
Slot, id: Public classes
Slot, id: Public classes
Slot, if-exists: Private structures
Slot, if-exists: Private structures
Slot, inflate: Public classes
Slot, keys: Public classes
Slot, name: Private structures
Slot, name: Private structures
Slot, name: Private structures
Slot, name: Private structures
Slot, name: Private structures
Slot, or-replace: Private structures
Slot, parent-column-map: Public classes
Slot, primary-key: Public classes
Slot, primary-key: Public classes
Slot, record-timestamps: Public classes
Slot, references: Public classes
Slot, sequence-name: Private structures
Slot, sequence-name: Private structures
Slot, slot: Public conditions
Slot, synced: Public classes
Slot, table: Public conditions
Slot, table-name: Public classes
Slot, unique-keys: Public classes
Slot, updated-at: Public classes
Slot, view-name: Private structures
Slot, view-name: Private structures
Special Variable, *advisory-lock-drivers*: Private special variables
Special Variable, *auto-migration-mode*: Public special variables
Special Variable, *conc-name*: Private special variables
Special Variable, *connection*: Public special variables
Special Variable, *db-date-format*: Private special variables
Special Variable, *db-date-format*: Private special variables
Special Variable, *db-datetime-format*: Private special variables
Special Variable, *db-datetime-format*: Private special variables
Special Variable, *db-datetime-format-with-out-timezone*: Private special variables
Special Variable, *db-datetime-format-without-timezone*: Private special variables
Special Variable, *lack-middleware-mito*: Public special variables
Special Variable, *migration-keep-temp-tables*: Public special variables
Special Variable, *migration-version-format*: Public special variables
Special Variable, *mito-logger-stream*: Public special variables
Special Variable, *mito-migration-logger-stream*: Public special variables
Special Variable, *plist-row-lispify*: Private special variables
Special Variable, *real-type-cache*: Private special variables
Special Variable, *trace-sql-hooks*: Public special variables
Special Variable, *use-prepare-cached*: Public special variables
Special Variable, *want-cursor*: Private special variables
Special Variable, +migrator-salt+: Private special variables
synced: Public classes

T
table: Public conditions
table-name: Public classes

U
unique-keys: Public classes
updated-at: Public classes

V
view-name: Private structures
view-name: Private structures


A.4 Data types

Jump to:   C   D   E   F   I   L   M   N   P   R   S   T   U   V  
Index Entry  Section

C
Class, dao-class: Public classes
Class, dao-table-class: Public classes
Class, dao-table-column-class: Public classes
Class, dao-table-mixin: Public classes
Class, dao-table-view: Public classes
Class, record-timestamps-mixin: Public classes
Class, serial-pk-mixin: Public classes
Class, table-class: Public classes
Class, table-column-class: Public classes
Class, uuid-pk-mixin: Public classes
class-components: The mito-core/core-components/class-components module
class.lisp: The mito-core/core-components/class․lisp file
col-type-required: Public conditions
column.lisp: The mito-core/core-components/dao-components/column․lisp file
column.lisp: The mito-core/core-components/class-components/column․lisp file
Condition, col-type-required: Public conditions
Condition, connection-not-established: Public conditions
Condition, invalid-definition: Public conditions
Condition, mito-error: Public conditions
Condition, no-primary-keys: Public conditions
connection-not-established: Public conditions
connection.lisp: The mito-core/core-components/connection․lisp file
conversion.lisp: The mito-core/core-components/conversion․lisp file
core-components: The mito-core/core-components module
create-sequence: Private structures
create-view: Private structures

D
dao-class: Public classes
dao-components: The mito-core/core-components/dao-components module
dao-table-class: Public classes
dao-table-column-class: Public classes
dao-table-mixin: Public classes
dao-table-view: Public classes
dao.lisp: The mito-core/core-components/dao․lisp file
db-drivers: The mito-core/core-components/db-drivers module
db.lisp: The mito-core/core-components/db․lisp file
drop-sequence: Private structures
drop-view: Private structures

E
error.lisp: The mito-core/core-components/error․lisp file

F
File, class.lisp: The mito-core/core-components/class․lisp file
File, column.lisp: The mito-core/core-components/dao-components/column․lisp file
File, column.lisp: The mito-core/core-components/class-components/column․lisp file
File, connection.lisp: The mito-core/core-components/connection․lisp file
File, conversion.lisp: The mito-core/core-components/conversion․lisp file
File, dao.lisp: The mito-core/core-components/dao․lisp file
File, db.lisp: The mito-core/core-components/db․lisp file
File, error.lisp: The mito-core/core-components/error․lisp file
File, lack-middleware-mito.asd: The lack-middleware-mito/lack-middleware-mito․asd file
File, logger.lisp: The mito-core/core-components/logger․lisp file
File, middleware.lisp: The lack-middleware-mito/src/middleware․lisp file
File, mito-core.asd: The mito-core/mito-core․asd file
File, mito-migration.asd: The mito-migration/mito-migration․asd file
File, mito.asd: The mito/mito․asd file
File, mixin.lisp: The mito-core/core-components/dao-components/mixin․lisp file
File, mysql.lisp: The mito-core/core-components/db-drivers/mysql․lisp file
File, postgres.lisp: The mito-core/core-components/db-drivers/postgres․lisp file
File, sql-parse.lisp: The mito-migration/migration-components/sql-parse․lisp file
File, sqlite3.lisp: The mito-core/core-components/db-drivers/sqlite3․lisp file
File, src/core.lisp: The mito-core/src/core․lisp file
File, src/migration.lisp: The mito-migration/src/migration․lisp file
File, src/mito.lisp: The mito/src/mito․lisp file
File, sxql.lisp: The mito-migration/migration-components/sxql․lisp file
File, table.lisp: The mito-core/core-components/dao-components/table․lisp file
File, table.lisp: The mito-core/core-components/class-components/table․lisp file
File, table.lisp: The mito-migration/migration-components/table․lisp file
File, type.lisp: The mito-core/core-components/type․lisp file
File, util.lisp: The mito-core/core-components/util․lisp file
File, util.lisp: The mito-migration/migration-components/util․lisp file
File, versions.lisp: The mito-migration/migration-components/versions․lisp file
File, view.lisp: The mito-core/core-components/dao-components/view․lisp file

I
invalid-definition: Public conditions

L
lack-middleware-mito: The lack-middleware-mito system
lack-middleware-mito.asd: The lack-middleware-mito/lack-middleware-mito․asd file
logger.lisp: The mito-core/core-components/logger․lisp file

M
middleware.lisp: The lack-middleware-mito/src/middleware․lisp file
migration-components: The mito-migration/migration-components module
mito: The mito system
mito: The mito package
mito-core: The mito-core system
mito-core.asd: The mito-core/mito-core․asd file
mito-cursor: Private structures
mito-error: Public conditions
mito-migration: The mito-migration system
mito-migration.asd: The mito-migration/mito-migration․asd file
mito.asd: The mito/mito․asd file
mito.class: The mito․class package
mito.class.column: The mito․class․column package
mito.class.table: The mito․class․table package
mito.connection: The mito․connection package
mito.conversion: The mito․conversion package
mito.core: The mito․core package
mito.dao: The mito․dao package
mito.dao.column: The mito․dao․column package
mito.dao.mixin: The mito․dao․mixin package
mito.dao.table: The mito․dao․table package
mito.dao.view: The mito․dao․view package
mito.db: The mito․db package
mito.db.mysql: The mito․db․mysql package
mito.db.postgres: The mito․db․postgres package
mito.db.sqlite3: The mito․db․sqlite3 package
mito.error: The mito․error package
mito.logger: The mito․logger package
mito.middleware: The mito․middleware package
mito.migration: The mito․migration package
mito.migration.sql-parse: The mito․migration․sql-parse package
mito.migration.sxql: The mito․migration․sxql package
mito.migration.table: The mito․migration․table package
mito.migration.util: The mito․migration․util package
mito.migration.versions: The mito․migration․versions package
mito.type: The mito․type package
mito.util: The mito․util package
mixin.lisp: The mito-core/core-components/dao-components/mixin․lisp file
Module, class-components: The mito-core/core-components/class-components module
Module, core-components: The mito-core/core-components module
Module, dao-components: The mito-core/core-components/dao-components module
Module, db-drivers: The mito-core/core-components/db-drivers module
Module, migration-components: The mito-migration/migration-components module
Module, src: The lack-middleware-mito/src module
mysql.lisp: The mito-core/core-components/db-drivers/mysql․lisp file

N
no-primary-keys: Public conditions

P
Package, mito: The mito package
Package, mito.class: The mito․class package
Package, mito.class.column: The mito․class․column package
Package, mito.class.table: The mito․class․table package
Package, mito.connection: The mito․connection package
Package, mito.conversion: The mito․conversion package
Package, mito.core: The mito․core package
Package, mito.dao: The mito․dao package
Package, mito.dao.column: The mito․dao․column package
Package, mito.dao.mixin: The mito․dao․mixin package
Package, mito.dao.table: The mito․dao․table package
Package, mito.dao.view: The mito․dao․view package
Package, mito.db: The mito․db package
Package, mito.db.mysql: The mito․db․mysql package
Package, mito.db.postgres: The mito․db․postgres package
Package, mito.db.sqlite3: The mito․db․sqlite3 package
Package, mito.error: The mito․error package
Package, mito.logger: The mito․logger package
Package, mito.middleware: The mito․middleware package
Package, mito.migration: The mito․migration package
Package, mito.migration.sql-parse: The mito․migration․sql-parse package
Package, mito.migration.sxql: The mito․migration․sxql package
Package, mito.migration.table: The mito․migration․table package
Package, mito.migration.util: The mito․migration․util package
Package, mito.migration.versions: The mito․migration․versions package
Package, mito.type: The mito․type package
Package, mito.util: The mito․util package
postgres.lisp: The mito-core/core-components/db-drivers/postgres․lisp file

R
record-timestamps-mixin: Public classes
references: Private types

S
serial-pk-mixin: Public classes
set-default: Private structures
sql-parse.lisp: The mito-migration/migration-components/sql-parse․lisp file
sqlite3.lisp: The mito-core/core-components/db-drivers/sqlite3․lisp file
src: The lack-middleware-mito/src module
src/core.lisp: The mito-core/src/core․lisp file
src/migration.lisp: The mito-migration/src/migration․lisp file
src/mito.lisp: The mito/src/mito․lisp file
Structure, create-sequence: Private structures
Structure, create-view: Private structures
Structure, drop-sequence: Private structures
Structure, drop-view: Private structures
Structure, mito-cursor: Private structures
Structure, set-default: Private structures
sxql.lisp: The mito-migration/migration-components/sxql․lisp file
System, lack-middleware-mito: The lack-middleware-mito system
System, mito: The mito system
System, mito-core: The mito-core system
System, mito-migration: The mito-migration system

T
table-class: Public classes
table-column-class: Public classes
table.lisp: The mito-core/core-components/dao-components/table․lisp file
table.lisp: The mito-core/core-components/class-components/table․lisp file
table.lisp: The mito-migration/migration-components/table․lisp file
Type, references: Private types
type.lisp: The mito-core/core-components/type․lisp file

U
util.lisp: The mito-core/core-components/util․lisp file
util.lisp: The mito-migration/migration-components/util․lisp file
uuid-pk-mixin: Public classes

V
versions.lisp: The mito-migration/migration-components/versions․lisp file
view.lisp: The mito-core/core-components/dao-components/view․lisp file