The orizuru-orm Reference Manual

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

The orizuru-orm Reference Manual

This is the orizuru-orm Reference Manual, version 0.0.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Thu Sep 15 05:47:46 2022 GMT+0.

Table of Contents


1 Introduction

#+OPTIONS: html-postamble:nil html-preamble:nil
#+AUTHOR:
#+TITLE: Orizuru-orm

* Orizuru-Orm

Orizuru-Orm  is an  ORM for  Common Lisp  and postgreSQL,  providing a
simple bridge  between CLOS and  relational databases, and out  of the
box         migrations,         it         is         based         on
[[https://github.com/eudoxia0/crane/][Crane]].

* Usage
** Defining Tables

#+BEGIN_SRC common-lisp
(deftable user ()
  (name :type text :uniquep t)
  (age :type integer :nullp nil :initform 18)
  (friend :type integer :foreign user)))
#+END_SRC

The foreign argument accepts a symbol that represents another table or
a  sexp  of  the  form  ~(table  &key  on-delete  on-update))~,  where
acceptable  values   are  ~:no-action  :restrict   :cascade  :set-null
:set-default~.

*** Column types
|-------------+--------------+----------------------------+-----------------+--------------------+
| orizuru-orm | CL           | SQL                        | inflate/deflate | migration allowed? |
|-------------+--------------+----------------------------+-----------------+--------------------+
| int         | integer      | integer                    | yes             | yes                |
|-------------+--------------+----------------------------+-----------------+--------------------+
| bigint      | integer      | bigint                     | yes             | yes                |
|-------------+--------------+----------------------------+-----------------+--------------------+
| smallint    | integer      | smallint                   | yes             | yes                |
|-------------+--------------+----------------------------+-----------------+--------------------+
| numeric     | ratio        | numeric                    | yes             | yes                |
|-------------+--------------+----------------------------+-----------------+--------------------+
| double      | double-float | double precision           | yes             | yes                |
|-------------+--------------+----------------------------+-----------------+--------------------+
| text        | string       | text                       | yes             | yes                |
|-------------+--------------+----------------------------+-----------------+--------------------+
| varchar     | string       | text                       | yes             | yes                |
|-------------+--------------+----------------------------+-----------------+--------------------+
| timestamp   | string       | timestamp [with time zone] | yes             | yes (see notes)    |
|-------------+--------------+----------------------------+-----------------+--------------------+
| datetime    | string       | TODO                       | TODO            | TODO               |
|-------------+--------------+----------------------------+-----------------+--------------------+

**** Notes
 - for ~timestamp~ columns migration is allowed only from and to ~text~;
 - the timezone for timestamp column is governed by the value of the special variable
   ~orizuru-orm.sql:*timestamp-column-uses-timezone-p*~.

** Migrating

The first rule  is: never use migration in  production before testing!
And, in  any case,  always be sure  to be able  to perform  a rollback
(backup, snapshot, whatever tool you have to recover a database).

#+BEGIN_SRC common-lisp
(deftable user ()
  (name :type integer :uniquep t :nullp nil)
  (age :type integer :nullp t :initform 18)
  (description :type text))
#+END_SRC

Just  make the  changes, and  Orizuru-Orm will  compute the  diffs and
perform all the ~ALTER TABLE~ directives for you.

In the example above the following action will be performed:

- the column ~name~ will change type from ~integer~ to ~text~;
- the column ~age~ will be able to assume a NULL value;
- the column ~friend ~ is *deleted*;
- a column ~description~ is added.

*** About altering column type

This  operation is  allowed but  a  bit tricky.   A limited  automatic
conversion using  common sense  (my common  sense!) is  available (see
[[Column types]]) but,  of course, the conversion i  have chosen could
not be useful or even harmless  for your database, so use this feature
with caution.  For  example a conversion from a column  of type ~text~
with value ~foo~ can not be  converted to ~integer~ and will signal an
error, while a conversion from ~double~ to ~int~ will drop the decimal
part and so on.

And, finally,  be careful that  removing a  slot will remove  a column
(and its values,  and possibly the column of a  referenced table) from
the database.

** Connecting

#+BEGIN_SRC common-lisp
(setup
 :migrations-directory
 (asdf:system-relative-pathname :myapp #p"migrations/")
 :databases
 '(:main
   (:type :postgres
    :name "myapp_db"
    :user "user"
    :pass "user")))

(connect)
#+END_SRC

For configuration management and switching databases in development/production
environments, you might want to use [Envy](https://github.com/fukamachi/envy).

** Creating, Saving, and Deleting Objects

#+BEGIN_SRC common-lisp
(let ((instance (create 'ship :name "Dalliance"
                              :tonnage 77)))
  ;; FIXME: It's back luck to rename a ship
  (setf (name instance) "Serenity")
  ;; Expand the cargo hold
  (incf (tonnage instance) 25)
  ;; Save these changes!
  (save instance)
  ;; Time to retire
  (del instance))
#+END_SRC

** Filtering

#+BEGIN_SRC common-lisp
(filter 'user) ;; Returns everything

(filter 'user :name "John")

(filter 'user (:> :age 21))

;; Returns a single object
(single 'user :name "John")

;; Throws an error if this returns more
;; than one object
(single! 'user (:< age 35))

;; t if a match exists, nil otherwise
(exists 'user :name "John")

;; If this record doesn't exist create it
(get-or-create 'user :name "John" :age 19)
#+END_SRC

*** More complex filtering

*WARNING*: this part is very experimental, the API could change at any
moment probably broken and, moreover, the code is ugly. :)

**** Creating a query set

Assuming a valid database connection and the following tables definition:

#+BEGIN_SRC common-lisp
    (deftable m ()
      (a
       :type integer))
    (deftable x ()
      (dummy
       :type text))
    (deftable y ()
      (to-x
       :type integer
       :foreign (x :restrict :cascade)))
    (deftable z ()
      (to-m
       :type integer
       :foreign (m :restrict :cascade))
      (to-y
       :type integer
       :foreign (y :restrict :cascade)))
#+END_SRC

evaluating this form:

#+BEGIN_SRC common-lisp

  (let ((orizuru-orm.util:*foreign-slots-class-package* :user-package))
    (make-query-set :z->y->x.= 2))

#+END_SRC

create an object that hold a  query like that (some escaping character
removed for readability):

#+BEGIN_SRC sql
  SELECT z.* FROM z
  INNER JOIN y ON (z.to-y = y.id)
  INNER JOIN x ON (y.to-x = x.id)
  WHERE (x.id = 2)
#+END_SRC

as you can  see the sequence ~a->b~ means a  slot/column (foreign key)
from  class/table   ~a~  that   reference  the  ~id~   slot/column  of
class/table ~b~, the  library will figure out the actual  name of said
slot.

It is  possible to filter around  a different slot and  with different
test like that:

#+BEGIN_SRC common-lisp

  (let ((orizuru-orm.util:*foreign-slots-class-package* :user-package))
    (make-query-set :z->y->x_dummy.ilike "%foo"))

#+END_SRC

**** Filtering query set

query can be  "chained" with ~filter-set~, this macro  will not modify
the original object it is applied to:

#+BEGIN_SRC text
  filter-set (&optional qset params logical-op)
#+END_SRC

- qset :: is the query-set object you want to modify (actually a modified copy is returned);
- params :: is a ~list~ of parameters (see examples below);
- logical-op :: a logical operation as keyword '(:or :and :not); default is :and.

Here is some more examples (the following will show the code generated
as sxql):

#+BEGIN_SRC common-lisp
  (let ((q (make-query-set :z.= 2)))
    (->sxql q)))

  ;; =>

  (SELECT (:Z.*)
    (FROM :Z)
    (WHERE (:AND (:= :Z.ID 2))))

  (let ((q (make-query-set :x.= 2)))
    (setf q (filter-set q (:y_id.> 1) :or))
    (setf q (filter-set q (:y_id.<= 5) :and))
    (->sxql q))

  ;; =>

  (SELECT (X.*)
    (FROM X)
    (WHERE (AND (<= Y.ID 5)
                (OR (> Y.ID 1)
                    (AND (= X.ID 2))))))


  (let ((q (make-query-set :z->y->x.= 2)))
    (setf q (filter-set q (:z->m_a.> 9)))
    (->sxql q))

  ;; =>

  (SELECT (Z.*)
    (FROM Z)
    (INNER-JOIN M ON (= Z.TO-M M.ID))
    (INNER-JOIN Y ON (= Z.TO-Y Y.ID))
    (INNER-JOIN X ON (= Y.TO-X X.ID))
    (WHERE (AND (> M.A 9)
                (AND (= X.ID 2)))))

  ;; of course this does not makes sense, it is just to show the API ^^;

  (let ((q (make-query-set :z->y->x.= 2)))
    (setf q (filter-set q (:y_id.> 1)  :not))
    (setf q (filter-set q (:y_id.<= 2) :and))
    (setf q (filter-set q (:z_id.> 0)))
    (setf q (filter-set q (:z->m_a.> 9)))
    (->sxql q))

  ;; =>

  (SELECT (:Z.*)
    (FROM :Z)
    (INNER-JOIN :M :ON (:= :Z.TO-M :M.ID))
    (INNER-JOIN :Y :ON (:= :Z.TO-Y :Y.ID))
    (INNER-JOIN :X :ON (:= :Y.TO-X :X.ID))
    (WHERE (:AND (:> :M.A 9)
                 (:AND (:> :Z.ID 0)
                       (:<= :Y.ID 2)
                       (:AND (:NOT (:> :Y.ID 1))
                             (:AND (:= :X.ID 2)))))))

#+END_SRC

**** Get results from query-set

to  get  the  results  from   query  use  the  method  ~all-from-set~,
specialized on class ~query-set~

#+BEGIN_SRC common-lisp
  all-from-set ((object query-set) &key (as-plist nil))
#+END_SRC

#+BEGIN_SRC common-lisp
  (all-from-set a-query-set :as-plist nil)

  ;; =>

  ;; '(instance-of-class ...) or nil

  (all-from-set a-query-set :as-plist t)

  ;; =>

  ;; '((:slot-1 value :slot-2 value) ... ) or nil
#+END_SRC

**** Changing join column

given this two tables

#+BEGIN_SRC common-lisp
  (deftable foo ()
    (dummy
     :type text))

  (deftable bar ()
    (to-foo
     :type integer
     :foreign (foo :restrict :cascade))
    (to-foo-2
     :type integer
     :foreign (foo :restrict :cascade)))
#+END_SRC

a query set like

#+BEGIN_SRC common-lisp
(let ((q (make-query-set :y->foo.=1))

#+END_SRC

because the join can happen either on column ~to-foo~ or ~to-foo-2~ an
error is  signalled; in  this case  the user  should specify  the join
column using the macro:

#+BEGIN_SRC common-lisp
with-join-column ((column) &body body)
#+END_SRC

example given:

#+BEGIN_SRC common-lisp
  (with-join-column (:to-foo)
    (let ((q (make-query-set :y->foo.=1)))))
#+END_SRC

**** Change mapped table

by  default getting  data  form  a query-set  will  return  a list  of
instances (or  list of plist  see: [[Get results from  query-set]]) of
the first recognized table, for example the values of this form:

#+BEGIN_SRC common-lisp
  (with-join-column (:to-foo)
    (let ((q (make-query-set :y->foo.=1)))
      (all-from-set q)))
#+END_SRC

is a  list of instances  of class ~y~ (or  nil if the  search criteria
does not match  any row of the  table); to get a list  of instances of
~foo~ use the function:

#+BEGIN_SRC text
map-to-model (query-set class-symbol)
#+END_SRC

#+BEGIN_SRC common-lisp
  (with-join-column (:to-foo)
    (let ((q (make-query-set :y->foo.=1)))
      (setf q (map-to-model q :foo))
      (all-from-set q)))

  ;; => '(instance-of-foo-1, instance-of-foo-2 ...)
#+END_SRC

**** Finding slots that are foreign keys

To find the foreign  key of a table user must set  or bind the special
variable   ~orizuru-orm.util:*foreign-slots-class-package*~   to   the
actual   package   where   your    tables   are   defined;   a   macro
~query-set:with-table-package~ makes this task less annoyng:

#+BEGIN_SRC common-lisp
  (with-table-package ((the-package) &body body)
    (with-join-column (:to-foo)
      (let ((q (make-query-set :y->foo.=1)))
        (setf q (map-to-model q :foo))
        (all-from-set q)))
#+END_SRC

**** Notes

Whilst i appreciate that someone would  test this code to improve it i
can not recommend to use it in production (see [[NO WARRANTY]]).

** Beyond ORM

Use [[https://github.com/fukamachi/sxql][sxql]]

** Transactions

#+BEGIN_SRC lisp
;;;; Automatic
(with-transaction ()
  (let ((restaurants (filter 'restaurant ...)))
    (loop for restaurant in restaurants do
          ...
          (save restaurant))))

;;;; Manual
(progn
  (begin-transaction)
  (let ((restaurants (filter 'restaurant ...)))
    (loop for restaurant in restaurants do
          ...
          (save restaurant)))
  (commit))
#+END_SRC

** Fixtures

#+BEGIN_SRC lisp
;;;; initial-data.lisp
(app:user
  (:name "john"
   :groups (:admin :staff))
  (:name "joe"
   :groups (:admin)))
(app:company
  (:name "Initech"
   :city "Denver"))

;;;; myapp.asd
(asdf:defsystem myapp
  :defsystem-depends-on (:clos-fixtures)
  :components ((:module "src"
                :components
                ((:fixture "initial-data")))))
#+END_SRC

** Inflate/Deflate

#+BEGIN_SRC lisp
(definflate (stamp 'timestamp)
  ;; Inflate a timestamp value
  ;; into a timestamp object
  (local-time:universal-to-timestamp stamp))

(defdeflate (stamp local-time:timestamp)
  ;; Deflate a timestamp object
  ;; into a string
  (local-time:format-timestring nil stamp))
#+END_SRC

** Using testing suite

*** Set up Postgres

Assuming there is a working  PostgreSQL server running and configured
use the following:

#+BEGIN_SRC shell
 $ su -
 (root)# su - postgres
 (postgres)$ createdb orizuru_test_db
 (postgres)$ psql -c "CREATE USER orizuru_test_user WITH PASSWORD 'orizuru_test_user'"
 (postgres)$ psql -c "GRANT ALL PRIVILEGES ON DATABASE orizuru_test_db TO orizuru_test_user"
 (postgres)$ ^D
 (root)#     ^D

#+END_SRC

*** Run the test suite

#+BEGIN_SRC lisp
  (ql:quickload :orizuru-orm-test)
  (run-all-tests :use-debugger t)
#+END_SRC

if you  plane to rerun the  test you must delete  the testing database
first (be careful not to delete a valuable database!)

#+BEGIN_SRC shell
 $ su -
 (root)# su - postgres
 (postgres)$ dropdb orizuru_test_db
#+END_SRC

then go to [[Set up Postgres]] and start again.

* BUGS

Bugs or other problems can be reported on the
[[https://notabug.org/cage/orizuru-orm/][issue tracker]].

* Contributing

Help   is    appreciated,   just    point   your   browser    to   the
[[https://notabug.org/cage/orizuru-orm/][repository]]   to   get   the
development          version,          fork          and          then
[[https://notabug.org/cage/orizuru-orm/pulls][send   patches]].  Thank
you in advance!  :)

** Testing

If you add new feature please add  a test to ensure that it works and,
in the future, if a regression occurs, is not missed.

* Acknowledgment

Much of the work for this  library come from "Eudoxia0", the original
author of this code, to whom goes my acknowledgment.

* License

Originally released as  Crane Copyright © 2013  Fernando Borretti under
the MIT license (following).

Permission is hereby granted, free  of charge, to any person obtaining
a  copy  of this  software  and  associated documentation  files  (the
"Software"), to  deal in  the Software without  restriction, including
without limitation  the rights to  use, copy, modify,  merge, publish,
distribute, sublicense,  and/or sell  copies of  the Software,  and to
permit persons to whom the Software  is furnished to do so, subject to
the following conditions:

The  above  copyright  notice  and this  permission  notice  shall  be
included in all copies or substantial portions of the Software.

THE  SOFTWARE IS  PROVIDED  "AS  IS", WITHOUT  WARRANTY  OF ANY  KIND,
EXPRESS OR  IMPLIED, INCLUDING  BUT NOT LIMITED  TO THE  WARRANTIES OF
MERCHANTABILITY,    FITNESS    FOR    A   PARTICULAR    PURPOSE    AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING  FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

For this version:

This program  is Copyright ©  2019 Universita' degli Studi  di Palermo
and  released  under GNU  General  Public  license  version 3  of  the
License, or (at your option) any later version.(see COPYING file).

This program  is distributed in the  hope that it will  be useful, but
WITHOUT   ANY  WARRANTY;   without  even   the  implied   warranty  of
MERCHANTABILITY  or FITNESS  FOR  A PARTICULAR  PURPOSE.  See the  GNU
General Public License for more details.

* NO WARRANTY

This library  is distributed in the  hope that it will  be useful, but
WITHOUT   ANY  WARRANTY;   without  even   the  implied   warranty  of
MERCHANTABILITY  or FITNESS  FOR  A PARTICULAR  PURPOSE.  See the  GNU
Lesser General Public License for more details.


2 Systems

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


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

2.1 orizuru-orm

An ORM for Common Lisp and PostgreSQL.

Maintainer

cage

Author

Fernando Borretti, cage

Home Page

https://notabug.org/cage/orizuru-orm/

Bug Tracker

https://notabug.org/cage/orizuru-orm/issues/

License

GPLv3

Version

0.0.1

Dependencies
  • alexandria (system).
  • closer-mop (system).
  • cl-ppcre-unicode (system).
  • anaphora (system).
  • sxql (system).
  • dbi (system).
  • iterate (system).
  • cl-fad (system).
  • clos-fixtures (system).
  • uiop (system).
  • clunit2 (system).
  • local-time (system).
Source

orizuru-orm.asd.

Child Component

src (module).


3 Modules

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


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

3.1 orizuru-orm/src

Source

orizuru-orm.asd.

Parent Component

orizuru-orm (system).

Child Components

4 Files

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


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

4.1 Lisp


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

4.1.1 orizuru-orm/orizuru-orm.asd

Source

orizuru-orm.asd.

Parent Component

orizuru-orm (system).

ASDF Systems

orizuru-orm.


4.1.3 orizuru-orm/src/constants.lisp

Dependency

package.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Public Interface

4.1.4 orizuru-orm/src/errors.lisp

Dependency

constants.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.5 orizuru-orm/src/config.lisp

Dependency

errors.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Packages

orizuru-orm.config.

Public Interface
Internals

*config* (special variable).


4.1.6 orizuru-orm/src/util.lisp

Dependency

config.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Public Interface
Internals

all-slots (function).


4.1.7 orizuru-orm/src/query-low-level.lisp

Dependency

util.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Public Interface

query-low-level (function).


4.1.8 orizuru-orm/src/connect.lisp

Dependency

query-low-level.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.9 orizuru-orm/src/types.lisp

Dependency

connect.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Public Interface
Internals

integer (type).


4.1.10 orizuru-orm/src/sql.lisp

Dependency

types.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.11 orizuru-orm/src/meta.lisp

Dependency

sql.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.12 orizuru-orm/src/query.lisp

Dependency

meta.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Public Interface

4.1.13 orizuru-orm/src/migration.lisp

Dependency

query.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.14 orizuru-orm/src/table.lisp

Dependency

migration.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.15 orizuru-orm/src/inflate-deflate.lisp

Dependency

table.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Public Interface
Internals

db-nil-p (function).


4.1.16 orizuru-orm/src/interface.lisp

Dependency

inflate-deflate.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.17 orizuru-orm/src/fixture.lisp

Dependency

interface.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Public Interface

register-fixture (method).


4.1.18 orizuru-orm/src/transaction.lisp

Dependency

fixture.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Public Interface

4.1.19 orizuru-orm/src/query-set.lisp

Dependency

transaction.lisp (file).

Source

orizuru-orm.asd.

Parent Component

src (module).

Public Interface
Internals

5 Packages

Packages are listed by definition order.


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

5.1 orizuru-orm.config

Functions for reading and writing from and to the global configuration.

Source

config.lisp.

Use List
  • anaphora.
  • common-lisp.
Public Interface
Internals

*config* (special variable).


5.2 orizuru-orm.errors

Definition of Orizuru-Orm errors.

Source

package.lisp.

Use List

common-lisp.

Used By List

orizuru-orm.query-set.

Public Interface
Internals

5.3 orizuru-orm.meta

This file defines the metaclasses that map CLOS objects to SQL tables, and some basic operations on them.

Source

package.lisp.

Use List
  • anaphora.
  • common-lisp.
  • iterate.
Used By List

orizuru-orm.query-set.

Public Interface
Internals

5.4 orizuru-orm.util

Various utilities for use in other parts of Orizuru-Orm.

Source

package.lisp.

Use List
  • alexandria.
  • anaphora.
  • common-lisp.
  • iterate.
Used By List
Public Interface
Internals

all-slots (function).


5.5 orizuru-orm.migration

The first part of this package contains various
simple utilities for manipulating the migration history of a table. The second part contains code that actually creates tables and migrates them. The actual generation of table-creating SQL is handled by orizuru-orm.sql.

Source

package.lisp.

Use List
  • alexandria.
  • anaphora.
  • common-lisp.
  • iterate.
Public Interface
Internals

5.6 orizuru-orm.constants

Some useful constants

Source

package.lisp.

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

orizuru-orm.query-set.

Public Interface

5.7 orizuru-orm.fixture

Customizes clos-fixtures for use in Orizuru-Orm.

Source

package.lisp.

Use List

common-lisp.


5.8 orizuru-orm.types

Implements the database types.

Source

package.lisp.

Used By List
Public Interface
Internals

integer (type).


5.9 orizuru-orm.table

Implements the deftable macro.

Source

package.lisp.

Use List
  • alexandria.
  • anaphora.
  • common-lisp.
  • iterate.
Public Interface
Internals

5.10 orizuru-orm.query

Executing cl-dbi queries in the context of Orizuru-Orm.

Source

package.lisp.

Use List
  • anaphora.
  • common-lisp.
  • iterate.
Used By List

orizuru-orm.query-set.

Public Interface

5.11 orizuru-orm.query.lowlevel

Executing cl-dbi queries.

Source

package.lisp.

Use List

common-lisp.

Public Interface

query-low-level (function).


5.12 orizuru-orm.query-set

Implements query sets.

Source

package.lisp.

Use List
Public Interface
Internals

5.13 orizuru-orm

The global Orizuru-Orm package re-exports symbols from internal modules.

Source

package.lisp.

Use List

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

5.14 orizuru-orm.sql

This module handles the generation of SQL for table definition and migration.

Source

package.lisp.

Use List
Public Interface
Internals

5.15 orizuru-orm.connect

Handles database connections, connection parameter validation, and various low-level DB-specific modes.

Source

package.lisp.

Use List
  • anaphora.
  • common-lisp.
  • iterate.
Public Interface
Internals

5.16 orizuru-orm.transaction

Implements transactions.

Source

package.lisp.

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

5.17 orizuru-orm.inflate-deflate

Inflation/deflation map SQL string to CLOS
objects. This is unrelated to the ORM, and meant to allow complex column datatypes to be mapped to CLOS objects. For example, mapping SQL timestamps to structures that represent time, or mapping other more complex SQL types to CLOS objects.

Source

package.lisp.

Use List
Used By List

orizuru-orm.query-set.

Public Interface
Internals

db-nil-p (function).


5.18 orizuru-orm.interface

This package contains the methods used to access and alter database records in an object-oriented way.

Source

package.lisp.

Use List
  • anaphora.
  • common-lisp.
  • iterate.
Public Interface
Internals

6 Definitions

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


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

6.1 Public Interface


6.1.1 Constants

Constant: +id-column-name+
Package

orizuru-orm.constants.

Source

constants.lisp.

Constant: +postgresql-autoincrement-column-qualifier+
Package

orizuru-orm.constants.

Source

constants.lisp.


Next: , Previous: , Up: Public Interface   [Contents][Index]

6.1.2 Special variables

Special Variable: *after-config-hook*

A function that gets executed after setup is called. Takes no arguments, does nothing by default.

Package

orizuru-orm.config.

Source

config.lisp.

Special Variable: *compile-sxql-tree*
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Special Variable: *default-db*

The name of the default database

Package

orizuru-orm.connect.

Source

connect.lisp.

Special Variable: *foreign-slots-class-package*
Package

orizuru-orm.util.

Source

util.lisp.

Special Variable: *full-select-table-sxql*
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Special Variable: *timestamp-column-uses-timezone-p*
Package

orizuru-orm.sql.

Source

sql.lisp.


6.1.3 Macros

Macro: create (class-name &rest args)

Create an object.

Package

orizuru-orm.interface.

Source

interface.lisp.

Macro: create% (obj)
Package

orizuru-orm.interface.

Source

interface.lisp.

Macro: create-from-plist (class plist)
Package

orizuru-orm.interface.

Source

interface.lisp.

Macro: defdeflate ((obj-name obj-type) &rest body)
Package

orizuru-orm.inflate-deflate.

Source

inflate-deflate.lisp.

Macro: definflate ((obj-name obj-type-name) &rest body)
Package

orizuru-orm.inflate-deflate.

Source

inflate-deflate.lisp.

Macro: deftable (name (&rest superclasses) &body slots-and-options)

Define a table.

Package

orizuru-orm.table.

Source

table.lisp.

Macro: deref (obj field)
Package

orizuru-orm.interface.

Source

interface.lisp.

Macro: do-filter ((result-name class &rest params) &rest body)
Package

orizuru-orm.interface.

Source

interface.lisp.

Macro: do-query ((result-name query &optional database-name) &rest body)

Execute code for each result in the query, without aggregating them all into a list.

Package

orizuru-orm.query.

Source

query.lisp.

Macro: exists (class &rest params)
Package

orizuru-orm.interface.

Source

interface.lisp.

Macro: filter (class &rest params)
Package

orizuru-orm.interface.

Source

interface.lisp.

Macro: filter-set (&optional qset params logical-op)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Macro: make-query-set (&optional from param)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Macro: meta-query (query database-name body)
Package

orizuru-orm.query.

Source

query.lisp.

Macro: query (query &optional database-name)

Execute an SxQL query on the database ‘database-name‘.

Package

orizuru-orm.query.

Source

query.lisp.

Macro: single (class &rest params)
Package

orizuru-orm.interface.

Source

interface.lisp.

Macro: single! (class &rest params)
Package

orizuru-orm.interface.

Source

interface.lisp.

Macro: single-or-create (class &rest params)
Package

orizuru-orm.interface.

Source

interface.lisp.

Macro: with-join-column ((column) &body body)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Macro: with-table-package ((the-package) &body body)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Macro: with-transaction ((&optional db) &rest body)
Package

orizuru-orm.transaction.

Source

transaction.lisp.


6.1.4 Ordinary functions

Function: add-constraint (table-name body)

SQL to add a constraint to a table.

Package

orizuru-orm.sql.

Source

sql.lisp.

Function: all-foreign-reference (class)

return a plist of (class-referring-name . slot-name)

Package

orizuru-orm.util.

Source

util.lisp.

Function: all-foreign-slots (class)
Package

orizuru-orm.util.

Source

util.lisp.

Function: all-slots-name (class)
Package

orizuru-orm.util.

Source

util.lisp.

Function: alter-constraint (table-name column-name type value diff)

SQL to alter a constraint in a table.

Package

orizuru-orm.sql.

Source

sql.lisp.

Function: begin-transaction (&optional db)
Package

orizuru-orm.transaction.

Source

transaction.lisp.

Function: build (table-name)
Package

orizuru-orm.migration.

Source

migration.lisp.

Function: commit (&optional db)
Package

orizuru-orm.transaction.

Source

transaction.lisp.

Function: connect ()

Connect to all the databases specified in the configuration.

Package

orizuru-orm.connect.

Source

connect.lisp.

Function: create-and-sort-constraints (table-name digest database-name)

A plist of different types of constraints from a table digest.

Package

orizuru-orm.sql.

Source

sql.lisp.

Function: create-table (table-name digest)
Package

orizuru-orm.migration.

Source

migration.lisp.

Function: debugp ()

Determine if Orizuru-Orm is in debug mode.

Package

orizuru-orm.config.

Source

config.lisp.

Function: define-column (table-name column database-name)

A column definition from the digest of its slot, name and name of the database it’s table belongs to

Package

orizuru-orm.sql.

Source

sql.lisp.

Function: delete-migrations (&optional force)
Package

orizuru-orm.migration.

Source

migration.lisp.

Function: diff-digest (digest-a digest-b)

Compute the difference between two digests. See DIGEST.

Package

orizuru-orm.meta.

Source

meta.lisp.

Function: diff-plist (plist-a plist-b &key test)

Calculates the difference between two plists, returning the result as a list of ([property] [old value] [new value])

Package

orizuru-orm.util.

Source

util.lisp.

Function: disconnect ()

Cut all connections.

Package

orizuru-orm.connect.

Source

connect.lisp.

Function: disconnect-clean ()

Cut all connections and reset *db* hashtable

Package

orizuru-orm.connect.

Source

connect.lisp.

Function: drop-column (table-name column-name)

SQL to drop a column, given the table and column names.

Package

orizuru-orm.sql.

Source

sql.lisp.

Function: drop-constraint (table-name column-name type)

SQL to drop a constraint from a table.

Package

orizuru-orm.sql.

Source

sql.lisp.

Function: find-class-slot (class name)

Find a slot by name

Package

orizuru-orm.util.

Source

util.lisp.

Function: find-foreign-reference (class-from class-to)
Package

orizuru-orm.util.

Source

util.lisp.

Function: find-slot (obj name)

Find a slot by name

Package

orizuru-orm.util.

Source

util.lisp.

Function: find-slot-name (class slot-symbol)
Package

orizuru-orm.util.

Source

util.lisp.

Function: foreign-reference-between (class-from class-to)
Package

orizuru-orm.util.

Source

util.lisp.

Function: foreign-reference-class (a)
Package

orizuru-orm.util.

Source

util.lisp.

Function: foreign-reference-slot-name (a)
Package

orizuru-orm.util.

Source

util.lisp.

Function: get-class-slot (class name)

Find a slot in a class by keyword name

Package

orizuru-orm.util.

Source

util.lisp.

Function: get-config-value (key)

Get the value of ‘key‘ in the configuration.

Package

orizuru-orm.config.

Source

config.lisp.

Function: get-configuration ()

Return the configuration object, or signal a no-configuration error.

Package

orizuru-orm.config.

Source

config.lisp.

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

Return the connection handler for a given database.

Package

orizuru-orm.connect.

Source

connect.lisp.

Function: get-db (&optional database-name)

Return the database matching a specific name

Package

orizuru-orm.connect.

Source

connect.lisp.

Function: get-last-migration (table-name)
Package

orizuru-orm.migration.

Source

migration.lisp.

Function: get-slot (obj name)

Find slot by keyword name

Package

orizuru-orm.util.

Source

util.lisp.

Function: insert-migration (table-name digest)

Insert a new diff to the migration history

Package

orizuru-orm.migration.

Source

migration.lisp.

Function: make-constraint (table-name column-name type value)

A constraint from its type and values, if it can be created (eg :nullp t doesn’t create a constraint, but :nullp nil creates a NOT NULL constraint).

Package

orizuru-orm.sql.

Source

sql.lisp.

Function: map-to-model (query-set class-symbol)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: migrate (table-class diff)
Package

orizuru-orm.migration.

Source

migration.lisp.

Function: migration-history-p (table-name)

T if the table has a migration history, NIL otherwise.

Package

orizuru-orm.migration.

Source

migration.lisp.

Function: plist-keys (plist)

Return the keys of a plist.

Package

orizuru-orm.util.

Source

util.lisp.

Function: query-low-level (sql connection)

Bypass orizuru-orm and execute sql query with dbi

Package

orizuru-orm.query.lowlevel.

Source

query-low-level.lisp.

Function: rename-migration-history (table-name new-name)
Package

orizuru-orm.migration.

Source

migration.lisp.

Function: rollback (&optional db)
Package

orizuru-orm.transaction.

Source

transaction.lisp.

Function: setup (&key migrations-directory databases debug)

Set the configuration.

Package

orizuru-orm.config.

Source

config.lisp.

Function: sqlize (obj)

Turn a symbol or a string into its SQL representation. Identical to the behaviour of SxQL.

Package

orizuru-orm.sql.

Source

sql.lisp.

Function: strcat (&rest strings)
Package

orizuru-orm.util.

Source

util.lisp.


6.1.5 Generic functions

Generic Function: ->sxql (object)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Methods
Method: ->sxql ((object join-query-set))
Method: ->sxql ((object union-query-set))
Method: ->sxql ((object filtered-query-set))
Method: ->sxql ((object logical-assoc-query-set))
Method: ->sxql ((object table-query-set))
Method: ->sxql ((object query-set))
Method: ->sxql (object)
Method: ->sxql ((object list))
Generic Reader: abstractp (object)
Package

orizuru-orm.meta.

Methods
Reader Method: abstractp ((<table-class> <table-class>))

Whether the class corresponds to an SQL table or not.

Source

meta.lisp.

Target Slot

abstractp.

Generic Function: add-filter (object child &key logical-op operation lhs rhs)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Methods
Method: add-filter ((object symbol) child &key logical-op operation lhs rhs)
Method: add-filter ((object query-set) (child null) &key logical-op operation lhs rhs)
Method: add-filter ((object query-set) (child list) &key logical-op operation lhs rhs)
Method: add-filter ((object logical-assoc-query-set) (child null) &key logical-op operation lhs rhs)
Method: add-filter ((object query-set) (child filtered-query-set) &key logical-op operation lhs rhs)
Method: add-filter ((object query-set) (child symbol) &key logical-op operation lhs rhs)
Method: add-filter ((object query-set) (child table-query-set) &key logical-op operation lhs rhs)
Generic Function: add-join (object join &key &allow-other-keys)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Methods
Method: add-join ((object query-set) (join list) &key &allow-other-keys)
Method: add-join ((object query-set) (join join-query-set) &key &allow-other-keys)
Method: add-join ((object table-query-set) (join join-query-set) &key &allow-other-keys)
Generic Function: add-table (object child)

Add a table as child of this query set

Package

orizuru-orm.query-set.

Source

query-set.lisp.

Methods
Method: add-table ((object query-set) child)
Generic Function: add-union (object table)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Methods
Method: add-union ((object table-query-set) (table table-query-set))
Method: add-union ((object query-set) (table table-query-set))
Method: add-union ((object union-query-set) (other union-query-set))
Method: add-union ((object union-query-set) (table table-query-set))
Method: add-union ((object query-set) (union-set union-query-set))
Method: add-union ((object query-set) (other-query-set query-set))
Method: add-union (object (table null))
Generic Function: all-from-set (object &key as-plist)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Methods
Method: all-from-set ((object query-set) &key as-plist)
Generic Reader: class-mapped (object)
Package

orizuru-orm.query-set.

Methods
Reader Method: class-mapped ((table-query-set table-query-set))

automatically generated reader method

Source

query-set.lisp.

Target Slot

class-mapped.

Generic Function: (setf class-mapped) (object)
Package

orizuru-orm.query-set.

Methods
Method: (setf class-mapped) ((object query-set))
Source

query-set.lisp.

Writer Method: (setf class-mapped) ((table-query-set table-query-set))

automatically generated writer method

Source

query-set.lisp.

Target Slot

class-mapped.

Generic Function: clone (object)
Package

orizuru-orm.util.

Source

util.lisp.

Methods
Method: clone ((object join-query-set))
Source

query-set.lisp.

Method: clone ((object filtered-query-set))
Source

query-set.lisp.

Method: clone ((object logical-assoc-query-set))
Source

query-set.lisp.

Method: clone ((object table-query-set))
Source

query-set.lisp.

Method: clone ((object query-set))
Source

query-set.lisp.

Method: clone ((object list))
Method: clone (object)
Generic Reader: col-autoincrement-p (object)
Package

orizuru-orm.meta.

Methods
Reader Method: col-autoincrement-p ((table-class-slot-definition-mixin table-class-slot-definition-mixin))

automatically generated reader method

Source

meta.lisp.

Target Slot

col-autoincrement-p.

Generic Reader: col-check (object)
Package

orizuru-orm.meta.

Methods
Reader Method: col-check ((table-class-slot-definition-mixin table-class-slot-definition-mixin))

automatically generated reader method

Source

meta.lisp.

Target Slot

col-check.

Generic Reader: col-foreign (object)
Package

orizuru-orm.meta.

Methods
Reader Method: col-foreign ((table-class-slot-definition-mixin table-class-slot-definition-mixin))

automatically generated reader method

Source

meta.lisp.

Target Slot

col-foreign.

Generic Reader: col-index-p (object)
Package

orizuru-orm.meta.

Methods
Reader Method: col-index-p ((table-class-slot-definition-mixin table-class-slot-definition-mixin))

automatically generated reader method

Source

meta.lisp.

Target Slot

col-index-p.

Generic Reader: col-null-p (object)
Package

orizuru-orm.meta.

Methods
Reader Method: col-null-p ((table-class-slot-definition-mixin table-class-slot-definition-mixin))

automatically generated reader method

Source

meta.lisp.

Target Slot

col-null-p.

Generic Reader: col-primary-p (object)
Package

orizuru-orm.meta.

Methods
Reader Method: col-primary-p ((table-class-slot-definition-mixin table-class-slot-definition-mixin))

automatically generated reader method

Source

meta.lisp.

Target Slot

col-primary-p.

Generic Reader: col-type (object)
Package

orizuru-orm.meta.

Methods
Reader Method: col-type ((table-class-slot-definition-mixin table-class-slot-definition-mixin))

automatically generated reader method

Source

meta.lisp.

Target Slot

col-type.

Generic Writer: (setf col-type) (object)
Package

orizuru-orm.meta.

Methods
Writer Method: (setf col-type) ((table-class-slot-definition-mixin table-class-slot-definition-mixin))

automatically generated writer method

Source

meta.lisp.

Target Slot

col-type.

Generic Reader: col-unique-p (object)
Package

orizuru-orm.meta.

Methods
Reader Method: col-unique-p ((table-class-slot-definition-mixin table-class-slot-definition-mixin))

automatically generated reader method

Source

meta.lisp.

Target Slot

col-unique-p.

Generic Reader: database-connection (object)
Generic Writer: (setf database-connection) (object)
Package

orizuru-orm.connect.

Methods
Reader Method: database-connection ((<database> <database>))
Writer Method: (setf database-connection) ((<database> <database>))

The underlying connection object.

Source

connect.lisp.

Target Slot

conn.

Generic Reader: database-name (object)
Package

orizuru-orm.connect.

Methods
Reader Method: database-name ((<database> <database>))

The database name.

Source

connect.lisp.

Target Slot

name.

Generic Reader: database-type (object)
Package

orizuru-orm.connect.

Methods
Reader Method: database-type ((<database> <database>))

A keyword representing the database type (:postgres only atm).

Source

connect.lisp.

Target Slot

type.

Generic Reader: deferredp (object)
Package

orizuru-orm.meta.

Methods
Reader Method: deferredp ((<table-class> <table-class>))

Whether the class should be built only when explicitly calling build.

Source

meta.lisp.

Target Slot

deferredp.

Generic Function: deflate (obj)

Turn a Lisp object into a string for insertion in the database.

Package

orizuru-orm.inflate-deflate.

Source

inflate-deflate.lisp.

Methods
Method: deflate ((stamp timestamp))
Method: deflate (obj)
Method: deflate ((num number))
Method: deflate ((str string))
Generic Function: del (obj)
Package

orizuru-orm.interface.

Methods
Method: del ((obj <table>))

Delete an object from the database.

Source

interface.lisp.

Generic Function: digest (class)
Package

orizuru-orm.meta.

Methods
Method: digest ((class <table-class>))

Serialize a class’s options and slots’ options into a plist

Source

meta.lisp.

Generic Function: drop-table (table)
Package

orizuru-orm.interface.

Methods
Method: drop-table ((table-name symbol))
Source

interface.lisp.

Method: drop-table ((table <table-class>))
Source

interface.lisp.

Generic Function: inflate (obj type-name)

Turn a string into a CLOS object.

Package

orizuru-orm.inflate-deflate.

Source

inflate-deflate.lisp.

Methods
Method: inflate (stamp (type (eql orizuru-orm.types:timestamp)))
Method: inflate (obj (type (eql orizuru-orm.types:datetime)))
Method: inflate (obj (type (eql orizuru-orm.types:varchar)))
Method: inflate (obj (type (eql orizuru-orm.types:text)))
Method: inflate (obj (type (eql orizuru-orm.types:double)))
Method: inflate (obj (type (eql orizuru-orm.types:numeric)))
Method: inflate (obj (type (eql orizuru-orm.types:smallint)))
Method: inflate (obj (type (eql orizuru-orm.types:bigint)))
Method: inflate (obj (type (eql orizuru-orm.types:int)))
Method: inflate (obj (type (eql integer)))
Generic Function: orizuru-orm-type->sql (sym)
Package

orizuru-orm.sql.

Source

sql.lisp.

Methods
Method: orizuru-orm-type->sql ((sym (eql orizuru-orm.types:timestamp)))
Method: orizuru-orm-type->sql ((sym (eql orizuru-orm.types:numeric)))
Method: orizuru-orm-type->sql ((sym (eql orizuru-orm.types:double)))
Method: orizuru-orm-type->sql ((sym (eql orizuru-orm.types:smallint)))
Method: orizuru-orm-type->sql ((sym (eql orizuru-orm.types:bigint)))
Method: orizuru-orm-type->sql ((sym (eql orizuru-orm.types:int)))
Method: orizuru-orm-type->sql ((sym (eql integer)))
Method: orizuru-orm-type->sql ((sym (eql orizuru-orm.types:varchar)))
Method: orizuru-orm-type->sql ((sym (eql orizuru-orm.types:text)))
Generic Function: plist->object (table tuple)
Package

orizuru-orm.interface.

Methods
Method: plist->object ((table-name symbol) tuple)
Source

interface.lisp.

Method: plist->object ((table <table-class>) tuple)

Convert a tuple produced by CL-DBI to a CLOS instance.

Source

interface.lisp.

Generic Function: query-set= (a b)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Methods
Method: query-set= ((a join-query-set) (b join-query-set))
Method: query-set= ((a filtered-query-set) (b filtered-query-set))
Method: query-set= ((a logical-assoc-query-set) (b logical-assoc-query-set))
Method: query-set= ((a table-query-set) (b table-query-set))
Method: query-set= ((a query-set) (b query-set))
Method: query-set= (a b)
Generic Function: save (obj)
Package

orizuru-orm.interface.

Methods
Method: save ((obj <table>))

Write an instance object to the database.

Source

interface.lisp.

Generic Function: table-database (class)
Package

orizuru-orm.meta.

Methods
Method: table-database ((class <table-class>))

The database this class belongs to.

Source

meta.lisp.

Generic Function: table-name (class)
Package

orizuru-orm.meta.

Methods
Method: table-name ((class <table-class>))

Return the name of a the class, a symbol.

Source

meta.lisp.


6.1.6 Standalone methods

Method: compute-effective-slot-definition ((class <table-class>) slot-name direct-slot-definitions)
Package

sb-mop.

Source

meta.lisp.

Method: direct-slot-definition-class ((class <table-class>) &rest initargs)
Package

sb-mop.

Source

meta.lisp.

Method: effective-slot-definition-class ((class <table-class>) &rest initargs)
Package

sb-mop.

Source

meta.lisp.

Method: initialize-instance :after ((object query-set) &key &allow-other-keys)
Source

query-set.lisp.

Method: print-object ((object logical-assoc-query-set) stream)
Source

query-set.lisp.

Method: print-object ((object filtered-query-set) stream)
Source

query-set.lisp.

Method: print-object ((object union-query-set) stream)
Source

query-set.lisp.

Method: print-object ((object table-query-set) stream)
Source

query-set.lisp.

Method: print-object ((object join-query-set) stream)
Source

query-set.lisp.

Method: print-object ((object query-set) stream)
Source

query-set.lisp.

Method: register-fixture ((instance <table>))
Package

clos-fixtures.

Source

fixture.lisp.

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

sb-mop.

Source

meta.lisp.

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

sb-mop.

Source

meta.lisp.


6.1.7 Conditions

Condition: configuration-error

An error in the configuration.

Package

orizuru-orm.errors.

Source

errors.lisp.

Direct superclasses

orizuru-orm-error.

Direct methods

key.

Direct slots
Slot: key

The configuration key afflicted by the error.

Initargs

:key

Readers

key.

Writers

This slot is read-only.

Condition: empty-table

Table has no slots.

Package

orizuru-orm.errors.

Source

errors.lisp.

Direct superclasses

orizuru-orm-error.

Condition: no-configuration-error

Orizuru-Orm was not configured.

Package

orizuru-orm.errors.

Source

errors.lisp.

Direct superclasses

orizuru-orm-error.

Condition: query-error

Error in a query.

Package

orizuru-orm.errors.

Source

errors.lisp.

Direct superclasses

orizuru-orm-error.

Condition: query-set-error

Error in a query set.

Package

orizuru-orm.errors.

Source

errors.lisp.

Direct superclasses

orizuru-orm-error.

Condition: query-set-foreign-reference-error

Error in a query set related to foreign reference.

Package

orizuru-orm.errors.

Source

errors.lisp.

Direct superclasses

orizuru-orm-error.


Next: , Previous: , Up: Public Interface   [Contents][Index]

6.1.8 Classes

Class: <database>

A database.

Package

orizuru-orm.connect.

Source

connect.lisp.

Direct methods
Direct slots
Slot: type

A keyword representing the database type (:postgres only atm).

Package

common-lisp.

Type

keyword

Initargs

:type

Readers

database-type.

Writers

This slot is read-only.

Slot: name

The database name.

Type

string

Initargs

:name

Readers

database-name.

Writers

This slot is read-only.

Slot: conn-spec

The connection specification.

Initargs

:conn-spec

Readers

database-connection-spec.

Writers

This slot is read-only.

Slot: conn

The underlying connection object.

Initargs

:connection

Readers

database-connection.

Writers

(setf database-connection).

Class: <table-class>

A table metaclass.

Package

orizuru-orm.meta.

Source

meta.lisp.

Direct superclasses

standard-class.

Direct methods
Direct slots
Slot: abstractp

Whether the class corresponds to an SQL table or not.

Initargs

:abstractp

Readers

abstractp.

Writers

This slot is read-only.

Slot: deferredp

Whether the class should be built only when explicitly calling build.

Initargs

:deferredp

Readers

deferredp.

Writers

This slot is read-only.

Slot: database

The database this class belongs to.

Initargs

:database

Readers

%table-database.

Writers

This slot is read-only.

Class: <table>

The base class of all table classes.

Package

orizuru-orm.table.

Source

table.lisp.

Direct methods
Class: filtered-query-set
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Direct superclasses

query-set.

Direct methods
Direct slots
Slot: operation
Initform

:=

Initargs

:operation

Readers

operation.

Writers

(setf operation).

Slot: lhs-column
Initargs

:lhs-column

Readers

lhs-column.

Writers

(setf lhs-column).

Slot: rhs-column
Initargs

:rhs-column

Readers

rhs-column.

Writers

(setf rhs-column).

Class: join-query-set
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Direct superclasses

table-query-set.

Direct methods
Direct slots
Slot: join-type
Initform

(quote sxql:inner-join)

Initargs

:join-type

Readers

join-type.

Writers

(setf join-type).

Slot: join-clause
Initargs

:join-clause

Readers

join-clause.

Writers

(setf join-clause).

Class: logical-assoc-query-set
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Direct superclasses

query-set.

Direct methods
Direct slots
Slot: operator
Initform

:and

Initargs

:operator

Readers

operator.

Writers

(setf operator).

Class: query-set
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: parent
Initargs

:parent

Readers

parent.

Writers

(setf parent).

Slot: children
Initform

(quote nil)

Initargs

:children

Readers

children.

Writers

(setf children).

Slot: columns
Initform

:*

Initargs

:columns

Readers

columns.

Writers

(setf columns).

Class: table-query-set
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Direct superclasses

query-set.

Direct subclasses

join-query-set.

Direct methods
Direct slots
Slot: table
Initargs

:table

Readers

table.

Writers

(setf table).

Slot: class-mapped
Type

symbol

Initargs

:class-mapped

Readers

class-mapped.

Writers

(setf class-mapped).

Class: union-query-set
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Direct superclasses

query-set.

Direct methods

Previous: , Up: Public Interface   [Contents][Index]

6.1.9 Types

Type: bigint ()
Package

orizuru-orm.types.

Source

types.lisp.

Type: datetime ()
Package

orizuru-orm.types.

Source

types.lisp.

Type: double ()
Package

orizuru-orm.types.

Source

types.lisp.

Type: int ()
Package

orizuru-orm.types.

Source

types.lisp.

Type: numeric ()
Package

orizuru-orm.types.

Source

types.lisp.

Type: smallint ()
Package

orizuru-orm.types.

Source

types.lisp.

Type: text ()
Package

orizuru-orm.types.

Source

types.lisp.

Type: timestamp ()
Package

orizuru-orm.types.

Source

types.lisp.

Type: varchar ()
Package

orizuru-orm.types.

Source

types.lisp.


6.2 Internals


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

6.2.1 Constants

Constant: +allowed-logical-op+
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Constant: +create-table-format-string+
Package

orizuru-orm.migration.

Source

migration.lisp.

Constant: +db-params+
Package

orizuru-orm.connect.

Source

connect.lisp.

Constant: +op-ilike+
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Constant: +op-like+
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Constant: +op-scanner+
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Constant: +op<+
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Constant: +op<=+
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Constant: +op=+
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Constant: +op>+
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Constant: +op>=+
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Constant: +re-op+
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Constant: +referential-actions+
Package

orizuru-orm.sql.

Source

sql.lisp.

Constant: +slot-mapping+
Package

orizuru-orm.table.

Source

table.lisp.

Constant: +standard-class-options+
Package

orizuru-orm.table.

Source

table.lisp.

Constant: +system-mapping+
Package

orizuru-orm.connect.

Source

connect.lisp.

Constant: +table-field-splitter+
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Constant: +table-splitter+
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Constant: +trim-op+
Package

orizuru-orm.query-set.

Source

query-set.lisp.


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

6.2.2 Special variables

Special Variable: *config*

This variable holds Orizuru-Orm’s global configuration.

Package

orizuru-orm.config.

Source

config.lisp.

Special Variable: *db*

A map from database names to <database> objects.

Package

orizuru-orm.connect.

Source

connect.lisp.

Special Variable: *print-indent-spaces*
Package

orizuru-orm.query-set.

Source

query-set.lisp.


6.2.3 Macros

Macro: gen-alias-integer->type (new-type)
Package

orizuru-orm.sql.

Source

sql.lisp.

Macro: gen-alias-type->integer (new-type)
Package

orizuru-orm.sql.

Source

sql.lisp.

Macro: gen-test-type (&rest types)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Macro: make-qset (chain-join param)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Macro: sym->op-case (query-as-symbol candidate-op &rest allowed-ops)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Macro: union-op (&body body)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Macro: with-clone ((cloned from) &body body)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Macro: with-increased-indent (&body body)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Macro: with-print-new-line ((stream) &body body)
Package

orizuru-orm.query-set.

Source

query-set.lisp.


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

6.2.4 Ordinary functions

Function: %print-object (object stream)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: %text->number (table-name column-name value using-type-destination)
Package

orizuru-orm.sql.

Source

sql.lisp.

Function: %text->something (table-name column-name value)
Package

orizuru-orm.sql.

Source

sql.lisp.

Function: add-default-slots (slot-name plist)

If the slot doesn’t have :initarg or :accessor slots, add them.

Package

orizuru-orm.table.

Source

table.lisp.

Function: all-slots (class)
Package

orizuru-orm.util.

Source

util.lisp.

Function: alter-column-type (table-name column-name type &optional using-expr)
Package

orizuru-orm.sql.

Source

sql.lisp.

Function: any-concrete-superclasses (superclasses)
Package

orizuru-orm.table.

Source

table.lisp.

Function: append-children (parent &rest all-children)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: autoincrement-sql (database-type)
Package

orizuru-orm.sql.

Source

sql.lisp.

Function: children= (a b)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: constraint-name (table-name column-name type)

Give constraints Orizuru-Orm-specific names

Package

orizuru-orm.sql.

Source

sql.lisp.

Function: conversion-column-p (diff)
Package

orizuru-orm.sql.

Source

sql.lisp.

Function: conversion-column-types (diff)
Package

orizuru-orm.sql.

Source

sql.lisp.

Function: create-column-constraints (table-name column)
Package

orizuru-orm.sql.

Source

sql.lisp.

Function: db-nil-p (a)
Package

orizuru-orm.inflate-deflate.

Source

inflate-deflate.lisp.

Function: diff->from-to-params (diff)
Package

orizuru-orm.sql.

Source

sql.lisp.

Function: diff-slot (slot-a slot-b)

Compute the difference between two slot digests. See DIGEST.

Package

orizuru-orm.meta.

Source

meta.lisp.

Function: digest-slot (slot)
Package

orizuru-orm.meta.

Source

meta.lisp.

Function: enforce-foreign-keys (connection database-type)
Package

orizuru-orm.connect.

Source

connect.lisp.

Function: filtered-p-fn (a)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: filtered-set= (a b)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: filters-only (children)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: find-child (parent predicate)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: find-logical-relation (query-set)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: find-table-or-join (query-set searching-for &key extract-key-searching-for extract-key-child test)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: foreign (local foreign-table &optional on-delete on-update)
Package

orizuru-orm.sql.

Source

sql.lisp.

Function: get-migration-dir ()
Package

orizuru-orm.migration.

Source

migration.lisp.

Function: increase-indent-space ()
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: initialize-*db* ()
Package

orizuru-orm.connect.

Source

connect.lisp.

Function: join-p-fn (a)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: joins-only (children)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: load-driver (driver)

Load the ASDF system for the specified database module.

Package

orizuru-orm.connect.

Source

connect.lisp.

Function: logical-assoc-p-fn (a)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: logical-ops-only (children)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: make-query-set-and (parent)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: make-set (obj)

Transform an object into a call to the set= function used by SxQL. Deflation happens here.

Package

orizuru-orm.interface.

Source

interface.lisp.

Function: make-table-column (table column)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: map-ref-action (action)
Package

orizuru-orm.sql.

Source

sql.lisp.

Function: migration-history-pathname (table-name)

Return the pathname to the file containing the migration history for the table ‘table-name‘.

Package

orizuru-orm.migration.

Source

migration.lisp.

Function: non-recursive-collect-child (parent predicate)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: print-children (query-set print-fn)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: print-indent-spaces (stream)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: print-new-line (stream)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: process-slot (slot)

Take a plist like (:col-type ’string :col-null-p t) and remove the prefixes on the keys. Turn ’deftable slot properties’ (:type, :nullp, etc.) into ’table-class slot properties’ (:col-type, :col-null-p, etc.)

Package

orizuru-orm.table.

Source

table.lisp.

Function: push-child (parent child &key test parent-set)

helper function to add a child to a query set

Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: read-migration-history (table-name)
Package

orizuru-orm.migration.

Source

migration.lisp.

Function: remap-filter (operation lhs rhs)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: remap-ilike (column val)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: remove-child (query-set predicate)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: separate-slots-and-options (slots-and-options)

To minimize the number of parentheses, both slots and table options come in the same list. This function separates them: Normal slot names are plain old symbols, table options are keywords.

Package

orizuru-orm.table.

Source

table.lisp.

Function: serialize (stream list)

Serialize a list of digests.

Package

orizuru-orm.migration.

Source

migration.lisp.

Function: serialize-plist (plist)
Package

orizuru-orm.migration.

Source

migration.lisp.

Function: set-all-parents (parent)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: set-all-parents* (parent children)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: set-index (table-name column-name value)

Toggle INDEX pseudo-constraint.

Package

orizuru-orm.sql.

Source

sql.lisp.

Function: set-null (column-name value)

Toggle NULL constraint.

Package

orizuru-orm.sql.

Source

sql.lisp.

Function: set-primary (column-name value)

Toggle PRIMARY KEY constraint.

Package

orizuru-orm.sql.

Source

sql.lisp.

Function: set-proper-quote-character (connection database-type)
Package

orizuru-orm.connect.

Source

connect.lisp.

Function: set-unique (column-name value)

Toggle UNIQUE constraint.

Package

orizuru-orm.sql.

Source

sql.lisp.

Function: signal-error (text)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: signal-if-lhs-and-rhs-null (lhs rhs)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: sort-slot-list (list)
Package

orizuru-orm.meta.

Source

meta.lisp.

Function: sym->filter (query-as-symbol val)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: sym->filter-fields (query-as-symbol)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: sym->filter-p (query-as-symbol)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: sym->join (query-as-symbol filter-data)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: sym->join-fields (query-as-symbol)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: sym->join-p (query-as-symbol)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: sym->op (query-as-symbol)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: sym-join-fields-w/explicit-column (query-as-symbol)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: sym-w/explicit-column-p (query-as-symbol)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: sym-w/joins-p (query-as-symbol)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: table-p-fn (a)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: tables-only (children)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: tables-unions-only (children)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: union-p-fn (a)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: unions-only (children)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: use-first-table-available (c)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Function: validate-all-databases ()

Immediately after configuration, iterate over the list of defined databases, validating configuration parameters, creating their corresponding <database> instances, and setting the value of *default-db*.

Package

orizuru-orm.connect.

Source

connect.lisp.

Function: validate-connection-spec (db database-type spec)
Package

orizuru-orm.connect.

Source

connect.lisp.


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

6.2.5 Generic functions

Generic Function: %clone (from)
Package

orizuru-orm.query-set.

Methods
Method: %clone (from)
Source

query-set.lisp.

Generic Function: %make-query-set (child)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Methods
Method: %make-query-set ((child null))
Method: %make-query-set ((child symbol))
Generic Reader: %table-database (object)
Package

orizuru-orm.meta.

Methods
Reader Method: %table-database ((<table-class> <table-class>))

The database this class belongs to.

Source

meta.lisp.

Target Slot

database.

Generic Reader: children (object)
Package

orizuru-orm.query-set.

Methods
Reader Method: children ((query-set query-set))

automatically generated reader method

Source

query-set.lisp.

Target Slot

children.

Generic Writer: (setf children) (object)
Package

orizuru-orm.query-set.

Methods
Writer Method: (setf children) ((query-set query-set))

automatically generated writer method

Source

query-set.lisp.

Target Slot

children.

Generic Function: clean-tuple (table tuple)
Package

orizuru-orm.interface.

Methods
Method: clean-tuple ((table <table-class>) tuple)

Process a plist returned by CL-DBI into a format that can be accepted by make-instance. Inflation happens here.

Source

interface.lisp.

Generic Reader: columns (object)
Package

orizuru-orm.query-set.

Methods
Reader Method: columns ((query-set query-set))

automatically generated reader method

Source

query-set.lisp.

Target Slot

columns.

Generic Writer: (setf columns) (object)
Package

orizuru-orm.query-set.

Methods
Writer Method: (setf columns) ((query-set query-set))

automatically generated writer method

Source

query-set.lisp.

Target Slot

columns.

Generic Function: convert-column-type (table-name column-name value old-type new-type)
Package

orizuru-orm.sql.

Source

sql.lisp.

Methods
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:numeric)) (new-type (eql orizuru-orm.types:double)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:double)) (new-type (eql orizuru-orm.types:numeric)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:numeric)) (new-type (eql orizuru-orm.types:smallint)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:smallint)) (new-type (eql orizuru-orm.types:numeric)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:double)) (new-type (eql orizuru-orm.types:smallint)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:smallint)) (new-type (eql orizuru-orm.types:double)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:numeric)) (new-type (eql orizuru-orm.types:bigint)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:bigint)) (new-type (eql orizuru-orm.types:numeric)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:double)) (new-type (eql orizuru-orm.types:bigint)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:bigint)) (new-type (eql orizuru-orm.types:double)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:smallint)) (new-type (eql orizuru-orm.types:bigint)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:bigint)) (new-type (eql orizuru-orm.types:smallint)))
Method: convert-column-type (table-name column-name value (old-type (eql integer)) (new-type (eql orizuru-orm.types:numeric)))
Method: convert-column-type (table-name column-name value (old-type (eql integer)) (new-type (eql orizuru-orm.types:double)))
Method: convert-column-type (table-name column-name value (old-type (eql integer)) (new-type (eql orizuru-orm.types:smallint)))
Method: convert-column-type (table-name column-name value (old-type (eql integer)) (new-type (eql orizuru-orm.types:bigint)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:numeric)) (new-type (eql orizuru-orm.types:int)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:int)) (new-type (eql orizuru-orm.types:numeric)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:double)) (new-type (eql orizuru-orm.types:int)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:int)) (new-type (eql orizuru-orm.types:double)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:smallint)) (new-type (eql orizuru-orm.types:int)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:int)) (new-type (eql orizuru-orm.types:smallint)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:bigint)) (new-type (eql orizuru-orm.types:int)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:int)) (new-type (eql orizuru-orm.types:bigint)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:numeric)) (new-type (eql orizuru-orm.types:varchar)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:varchar)) (new-type (eql orizuru-orm.types:numeric)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:double)) (new-type (eql orizuru-orm.types:varchar)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:varchar)) (new-type (eql orizuru-orm.types:double)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:smallint)) (new-type (eql orizuru-orm.types:varchar)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:varchar)) (new-type (eql orizuru-orm.types:smallint)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:bigint)) (new-type (eql orizuru-orm.types:varchar)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:varchar)) (new-type (eql orizuru-orm.types:bigint)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:int)) (new-type (eql orizuru-orm.types:varchar)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:varchar)) (new-type (eql orizuru-orm.types:int)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:timestamp)) (new-type (eql orizuru-orm.types:text)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:text)) (new-type (eql orizuru-orm.types:timestamp)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:numeric)) (new-type (eql orizuru-orm.types:text)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:text)) (new-type (eql orizuru-orm.types:numeric)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:double)) (new-type (eql orizuru-orm.types:text)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:text)) (new-type (eql orizuru-orm.types:double)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:smallint)) (new-type (eql orizuru-orm.types:text)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:text)) (new-type (eql orizuru-orm.types:smallint)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:bigint)) (new-type (eql orizuru-orm.types:text)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:text)) (new-type (eql orizuru-orm.types:bigint)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:int)) (new-type (eql orizuru-orm.types:text)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:text)) (new-type (eql orizuru-orm.types:int)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:varchar)) (new-type (eql orizuru-orm.types:text)))
Method: convert-column-type (table-name column-name value (old-type (eql orizuru-orm.types:text)) (new-type (eql orizuru-orm.types:varchar)))
Generic Reader: database-connection-spec (object)
Package

orizuru-orm.connect.

Methods
Reader Method: database-connection-spec ((<database> <database>))

The connection specification.

Source

connect.lisp.

Target Slot

conn-spec.

Generic Function: dfs (object fn)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Methods
Method: dfs ((object query-set) fn)
Generic Reader: join-clause (object)
Package

orizuru-orm.query-set.

Methods
Reader Method: join-clause ((join-query-set join-query-set))

automatically generated reader method

Source

query-set.lisp.

Target Slot

join-clause.

Generic Writer: (setf join-clause) (object)
Package

orizuru-orm.query-set.

Methods
Writer Method: (setf join-clause) ((join-query-set join-query-set))

automatically generated writer method

Source

query-set.lisp.

Target Slot

join-clause.

Generic Reader: join-type (object)
Package

orizuru-orm.query-set.

Methods
Reader Method: join-type ((join-query-set join-query-set))

automatically generated reader method

Source

query-set.lisp.

Target Slot

join-type.

Generic Writer: (setf join-type) (object)
Package

orizuru-orm.query-set.

Methods
Writer Method: (setf join-type) ((join-query-set join-query-set))

automatically generated writer method

Source

query-set.lisp.

Target Slot

join-type.

Generic Reader: key (condition)
Package

orizuru-orm.errors.

Methods
Reader Method: key ((condition configuration-error))
Source

errors.lisp.

Target Slot

key.

Generic Reader: lhs-column (object)
Package

orizuru-orm.query-set.

Methods
Reader Method: lhs-column ((filtered-query-set filtered-query-set))

automatically generated reader method

Source

query-set.lisp.

Target Slot

lhs-column.

Generic Writer: (setf lhs-column) (object)
Package

orizuru-orm.query-set.

Methods
Writer Method: (setf lhs-column) ((filtered-query-set filtered-query-set))

automatically generated writer method

Source

query-set.lisp.

Target Slot

lhs-column.

Generic Function: make-connection (database)
Package

orizuru-orm.connect.

Methods
Method: make-connection ((database <database>))
Source

connect.lisp.

Generic Function: nadd-filter (object child &key logical-op operation lhs rhs)

Impure version of add-filter

Package

orizuru-orm.query-set.

Source

query-set.lisp.

Methods
Method: nadd-filter ((object logical-assoc-query-set) (child null) &key logical-op operation lhs rhs)
Generic Function: nadd-join (object join &key &allow-other-keys)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Methods
Method: nadd-join ((object table-query-set) (join join-query-set) &key &allow-other-keys)
Generic Function: nadd-table (object child)

Impure version of add-table

Package

orizuru-orm.query-set.

Source

query-set.lisp.

Methods
Method: nadd-table ((object query-set) (child symbol))
Method: nadd-table ((object query-set) (child table-query-set))
Generic Function: nadd-union (object table)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Methods
Method: nadd-union ((object union-query-set) (table table-query-set))
Generic Reader: operation (object)
Package

orizuru-orm.query-set.

Methods
Reader Method: operation ((filtered-query-set filtered-query-set))

automatically generated reader method

Source

query-set.lisp.

Target Slot

operation.

Generic Writer: (setf operation) (object)
Package

orizuru-orm.query-set.

Methods
Writer Method: (setf operation) ((filtered-query-set filtered-query-set))

automatically generated writer method

Source

query-set.lisp.

Target Slot

operation.

Generic Reader: operator (object)
Package

orizuru-orm.query-set.

Methods
Reader Method: operator ((logical-assoc-query-set logical-assoc-query-set))

automatically generated reader method

Source

query-set.lisp.

Target Slot

operator.

Generic Writer: (setf operator) (object)
Package

orizuru-orm.query-set.

Methods
Writer Method: (setf operator) ((logical-assoc-query-set logical-assoc-query-set))

automatically generated writer method

Source

query-set.lisp.

Target Slot

operator.

Generic Reader: parent (object)
Package

orizuru-orm.query-set.

Methods
Reader Method: parent ((query-set query-set))

automatically generated reader method

Source

query-set.lisp.

Target Slot

parent.

Generic Writer: (setf parent) (object)
Package

orizuru-orm.query-set.

Methods
Writer Method: (setf parent) ((query-set query-set))

automatically generated writer method

Source

query-set.lisp.

Target Slot

parent.

Generic Reader: rhs-column (object)
Package

orizuru-orm.query-set.

Methods
Reader Method: rhs-column ((filtered-query-set filtered-query-set))

automatically generated reader method

Source

query-set.lisp.

Target Slot

rhs-column.

Generic Writer: (setf rhs-column) (object)
Package

orizuru-orm.query-set.

Methods
Writer Method: (setf rhs-column) ((filtered-query-set filtered-query-set))

automatically generated writer method

Source

query-set.lisp.

Target Slot

rhs-column.

Generic Function: slot-tuple (obj)
Package

orizuru-orm.interface.

Methods
Method: slot-tuple (obj)
Source

interface.lisp.

Generic Function: split-tables-name (query)
Package

orizuru-orm.query-set.

Source

query-set.lisp.

Methods
Method: split-tables-name ((query symbol))
Method: split-tables-name ((query string))
Generic Reader: table (object)
Package

orizuru-orm.query-set.

Methods
Reader Method: table ((table-query-set table-query-set))

automatically generated reader method

Source

query-set.lisp.

Target Slot

table.

Generic Writer: (setf table) (object)
Package

orizuru-orm.query-set.

Methods
Writer Method: (setf table) ((table-query-set table-query-set))

automatically generated writer method

Source

query-set.lisp.

Target Slot

table.

Generic Reader: text (condition)
Package

orizuru-orm.errors.

Methods
Reader Method: text ((condition orizuru-orm-error))
Source

errors.lisp.

Target Slot

text.


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

6.2.6 Conditions

Condition: orizuru-orm-error
Package

orizuru-orm.errors.

Source

errors.lisp.

Direct superclasses

condition.

Direct subclasses
Direct methods

text.

Direct slots
Slot: text
Initargs

:text

Readers

text.

Writers

This slot is read-only.


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

6.2.7 Classes

Class: table-class-direct-slot-definition
Package

orizuru-orm.meta.

Source

meta.lisp.

Direct superclasses
Direct slots
Slot: col-null-p
Initform

t

Slot: col-unique-p
Slot: col-primary-p
Slot: col-index-p
Slot: col-foreign
Slot: col-autoincrement-p
Slot: col-check
Initargs

nil

Class: table-class-effective-slot-definition
Package

orizuru-orm.meta.

Source

meta.lisp.

Direct superclasses
Class: table-class-slot-definition-mixin
Package

orizuru-orm.meta.

Source

meta.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: col-type
Initargs

:col-type

Readers

col-type.

Writers

(setf col-type).

Slot: col-null-p
Initargs

:col-null-p

Readers

col-null-p.

Writers

This slot is read-only.

Slot: col-unique-p
Initargs

:col-unique-p

Readers

col-unique-p.

Writers

This slot is read-only.

Slot: col-primary-p
Initargs

:col-primary-p

Readers

col-primary-p.

Writers

This slot is read-only.

Slot: col-index-p
Initargs

:col-index-p

Readers

col-index-p.

Writers

This slot is read-only.

Slot: col-foreign
Initargs

:col-foreign

Readers

col-foreign.

Writers

This slot is read-only.

Slot: col-autoincrement-p
Initargs

:col-autoincrement-p

Readers

col-autoincrement-p.

Writers

This slot is read-only.

Slot: col-check
Initargs

:col-check

Readers

col-check.

Writers

This slot is read-only.


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

6.2.8 Types

Type: integer ()
Package

orizuru-orm.types.

Source

types.lisp.


Appendix A Indexes


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

A.1 Concepts


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

A.2 Functions

Jump to:   %   (   -  
A   B   C   D   E   F   G   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W  
Index Entry  Section

%
%clone: Private generic functions
%clone: Private generic functions
%make-query-set: Private generic functions
%make-query-set: Private generic functions
%make-query-set: Private generic functions
%print-object: Private ordinary functions
%table-database: Private generic functions
%table-database: Private generic functions
%text->number: Private ordinary functions
%text->something: Private ordinary functions

(
(setf children): Private generic functions
(setf children): Private generic functions
(setf class-mapped): Public generic functions
(setf class-mapped): Public generic functions
(setf class-mapped): Public generic functions
(setf col-type): Public generic functions
(setf col-type): Public generic functions
(setf columns): Private generic functions
(setf columns): Private generic functions
(setf database-connection): Public generic functions
(setf database-connection): Public generic functions
(setf join-clause): Private generic functions
(setf join-clause): Private generic functions
(setf join-type): Private generic functions
(setf join-type): Private generic functions
(setf lhs-column): Private generic functions
(setf lhs-column): Private generic functions
(setf operation): Private generic functions
(setf operation): Private generic functions
(setf operator): Private generic functions
(setf operator): Private generic functions
(setf parent): Private generic functions
(setf parent): Private generic functions
(setf rhs-column): Private generic functions
(setf rhs-column): Private generic functions
(setf table): Private generic functions
(setf table): Private generic functions

-
->sxql: Public generic functions
->sxql: Public generic functions
->sxql: Public generic functions
->sxql: Public generic functions
->sxql: Public generic functions
->sxql: Public generic functions
->sxql: Public generic functions
->sxql: Public generic functions
->sxql: Public generic functions

A
abstractp: Public generic functions
abstractp: Public generic functions
add-constraint: Public ordinary functions
add-default-slots: Private ordinary functions
add-filter: Public generic functions
add-filter: Public generic functions
add-filter: Public generic functions
add-filter: Public generic functions
add-filter: Public generic functions
add-filter: Public generic functions
add-filter: Public generic functions
add-filter: Public generic functions
add-join: Public generic functions
add-join: Public generic functions
add-join: Public generic functions
add-join: Public generic functions
add-table: Public generic functions
add-table: Public generic functions
add-union: Public generic functions
add-union: Public generic functions
add-union: Public generic functions
add-union: Public generic functions
add-union: Public generic functions
add-union: Public generic functions
add-union: Public generic functions
add-union: Public generic functions
all-foreign-reference: Public ordinary functions
all-foreign-slots: Public ordinary functions
all-from-set: Public generic functions
all-from-set: Public generic functions
all-slots: Private ordinary functions
all-slots-name: Public ordinary functions
alter-column-type: Private ordinary functions
alter-constraint: Public ordinary functions
any-concrete-superclasses: Private ordinary functions
append-children: Private ordinary functions
autoincrement-sql: Private ordinary functions

B
begin-transaction: Public ordinary functions
build: Public ordinary functions

C
children: Private generic functions
children: Private generic functions
children=: Private ordinary functions
class-mapped: Public generic functions
class-mapped: Public generic functions
clean-tuple: Private generic functions
clean-tuple: Private generic functions
clone: Public generic functions
clone: Public generic functions
clone: Public generic functions
clone: Public generic functions
clone: Public generic functions
clone: Public generic functions
clone: Public generic functions
clone: Public generic functions
col-autoincrement-p: Public generic functions
col-autoincrement-p: Public generic functions
col-check: Public generic functions
col-check: Public generic functions
col-foreign: Public generic functions
col-foreign: Public generic functions
col-index-p: Public generic functions
col-index-p: Public generic functions
col-null-p: Public generic functions
col-null-p: Public generic functions
col-primary-p: Public generic functions
col-primary-p: Public generic functions
col-type: Public generic functions
col-type: Public generic functions
col-unique-p: Public generic functions
col-unique-p: Public generic functions
columns: Private generic functions
columns: Private generic functions
commit: Public ordinary functions
compute-effective-slot-definition: Public standalone methods
connect: Public ordinary functions
constraint-name: Private ordinary functions
conversion-column-p: Private ordinary functions
conversion-column-types: Private ordinary functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
convert-column-type: Private generic functions
create: Public macros
create%: Public macros
create-and-sort-constraints: Public ordinary functions
create-column-constraints: Private ordinary functions
create-from-plist: Public macros
create-table: Public ordinary functions

D
database-connection: Public generic functions
database-connection: Public generic functions
database-connection-spec: Private generic functions
database-connection-spec: Private generic functions
database-name: Public generic functions
database-name: Public generic functions
database-type: Public generic functions
database-type: Public generic functions
db-nil-p: Private ordinary functions
debugp: Public ordinary functions
defdeflate: Public macros
deferredp: Public generic functions
deferredp: Public generic functions
define-column: Public ordinary functions
definflate: Public macros
deflate: Public generic functions
deflate: Public generic functions
deflate: Public generic functions
deflate: Public generic functions
deflate: Public generic functions
deftable: Public macros
del: Public generic functions
del: Public generic functions
delete-migrations: Public ordinary functions
deref: Public macros
dfs: Private generic functions
dfs: Private generic functions
diff->from-to-params: Private ordinary functions
diff-digest: Public ordinary functions
diff-plist: Public ordinary functions
diff-slot: Private ordinary functions
digest: Public generic functions
digest: Public generic functions
digest-slot: Private ordinary functions
direct-slot-definition-class: Public standalone methods
disconnect: Public ordinary functions
disconnect-clean: Public ordinary functions
do-filter: Public macros
do-query: Public macros
drop-column: Public ordinary functions
drop-constraint: Public ordinary functions
drop-table: Public generic functions
drop-table: Public generic functions
drop-table: Public generic functions

E
effective-slot-definition-class: Public standalone methods
enforce-foreign-keys: Private ordinary functions
exists: Public macros

F
filter: Public macros
filter-set: Public macros
filtered-p-fn: Private ordinary functions
filtered-set=: Private ordinary functions
filters-only: Private ordinary functions
find-child: Private ordinary functions
find-class-slot: Public ordinary functions
find-foreign-reference: Public ordinary functions
find-logical-relation: Private ordinary functions
find-slot: Public ordinary functions
find-slot-name: Public ordinary functions
find-table-or-join: Private ordinary functions
foreign: Private ordinary functions
foreign-reference-between: Public ordinary functions
foreign-reference-class: Public ordinary functions
foreign-reference-slot-name: Public ordinary functions
Function, %print-object: Private ordinary functions
Function, %text->number: Private ordinary functions
Function, %text->something: Private ordinary functions
Function, add-constraint: Public ordinary functions
Function, add-default-slots: Private ordinary functions
Function, all-foreign-reference: Public ordinary functions
Function, all-foreign-slots: Public ordinary functions
Function, all-slots: Private ordinary functions
Function, all-slots-name: Public ordinary functions
Function, alter-column-type: Private ordinary functions
Function, alter-constraint: Public ordinary functions
Function, any-concrete-superclasses: Private ordinary functions
Function, append-children: Private ordinary functions
Function, autoincrement-sql: Private ordinary functions
Function, begin-transaction: Public ordinary functions
Function, build: Public ordinary functions
Function, children=: Private ordinary functions
Function, commit: Public ordinary functions
Function, connect: Public ordinary functions
Function, constraint-name: Private ordinary functions
Function, conversion-column-p: Private ordinary functions
Function, conversion-column-types: Private ordinary functions
Function, create-and-sort-constraints: Public ordinary functions
Function, create-column-constraints: Private ordinary functions
Function, create-table: Public ordinary functions
Function, db-nil-p: Private ordinary functions
Function, debugp: Public ordinary functions
Function, define-column: Public ordinary functions
Function, delete-migrations: Public ordinary functions
Function, diff->from-to-params: Private ordinary functions
Function, diff-digest: Public ordinary functions
Function, diff-plist: Public ordinary functions
Function, diff-slot: Private ordinary functions
Function, digest-slot: Private ordinary functions
Function, disconnect: Public ordinary functions
Function, disconnect-clean: Public ordinary functions
Function, drop-column: Public ordinary functions
Function, drop-constraint: Public ordinary functions
Function, enforce-foreign-keys: Private ordinary functions
Function, filtered-p-fn: Private ordinary functions
Function, filtered-set=: Private ordinary functions
Function, filters-only: Private ordinary functions
Function, find-child: Private ordinary functions
Function, find-class-slot: Public ordinary functions
Function, find-foreign-reference: Public ordinary functions
Function, find-logical-relation: Private ordinary functions
Function, find-slot: Public ordinary functions
Function, find-slot-name: Public ordinary functions
Function, find-table-or-join: Private ordinary functions
Function, foreign: Private ordinary functions
Function, foreign-reference-between: Public ordinary functions
Function, foreign-reference-class: Public ordinary functions
Function, foreign-reference-slot-name: Public ordinary functions
Function, get-class-slot: Public ordinary functions
Function, get-config-value: Public ordinary functions
Function, get-configuration: Public ordinary functions
Function, get-connection: Public ordinary functions
Function, get-db: Public ordinary functions
Function, get-last-migration: Public ordinary functions
Function, get-migration-dir: Private ordinary functions
Function, get-slot: Public ordinary functions
Function, increase-indent-space: Private ordinary functions
Function, initialize-*db*: Private ordinary functions
Function, insert-migration: Public ordinary functions
Function, join-p-fn: Private ordinary functions
Function, joins-only: Private ordinary functions
Function, load-driver: Private ordinary functions
Function, logical-assoc-p-fn: Private ordinary functions
Function, logical-ops-only: Private ordinary functions
Function, make-constraint: Public ordinary functions
Function, make-query-set-and: Private ordinary functions
Function, make-set: Private ordinary functions
Function, make-table-column: Private ordinary functions
Function, map-ref-action: Private ordinary functions
Function, map-to-model: Public ordinary functions
Function, migrate: Public ordinary functions
Function, migration-history-p: Public ordinary functions
Function, migration-history-pathname: Private ordinary functions
Function, non-recursive-collect-child: Private ordinary functions
Function, plist-keys: Public ordinary functions
Function, print-children: Private ordinary functions
Function, print-indent-spaces: Private ordinary functions
Function, print-new-line: Private ordinary functions
Function, process-slot: Private ordinary functions
Function, push-child: Private ordinary functions
Function, query-low-level: Public ordinary functions
Function, read-migration-history: Private ordinary functions
Function, remap-filter: Private ordinary functions
Function, remap-ilike: Private ordinary functions
Function, remove-child: Private ordinary functions
Function, rename-migration-history: Public ordinary functions
Function, rollback: Public ordinary functions
Function, separate-slots-and-options: Private ordinary functions
Function, serialize: Private ordinary functions
Function, serialize-plist: Private ordinary functions
Function, set-all-parents: Private ordinary functions
Function, set-all-parents*: Private ordinary functions
Function, set-index: Private ordinary functions
Function, set-null: Private ordinary functions
Function, set-primary: Private ordinary functions
Function, set-proper-quote-character: Private ordinary functions
Function, set-unique: Private ordinary functions
Function, setup: Public ordinary functions
Function, signal-error: Private ordinary functions
Function, signal-if-lhs-and-rhs-null: Private ordinary functions
Function, sort-slot-list: Private ordinary functions
Function, sqlize: Public ordinary functions
Function, strcat: Public ordinary functions
Function, sym->filter: Private ordinary functions
Function, sym->filter-fields: Private ordinary functions
Function, sym->filter-p: Private ordinary functions
Function, sym->join: Private ordinary functions
Function, sym->join-fields: Private ordinary functions
Function, sym->join-p: Private ordinary functions
Function, sym->op: Private ordinary functions
Function, sym-join-fields-w/explicit-column: Private ordinary functions
Function, sym-w/explicit-column-p: Private ordinary functions
Function, sym-w/joins-p: Private ordinary functions
Function, table-p-fn: Private ordinary functions
Function, tables-only: Private ordinary functions
Function, tables-unions-only: Private ordinary functions
Function, union-p-fn: Private ordinary functions
Function, unions-only: Private ordinary functions
Function, use-first-table-available: Private ordinary functions
Function, validate-all-databases: Private ordinary functions
Function, validate-connection-spec: Private ordinary functions

G
gen-alias-integer->type: Private macros
gen-alias-type->integer: Private macros
gen-test-type: Private macros
Generic Function, %clone: Private generic functions
Generic Function, %make-query-set: Private generic functions
Generic Function, %table-database: Private generic functions
Generic Function, (setf children): Private generic functions
Generic Function, (setf class-mapped): Public generic functions
Generic Function, (setf col-type): Public generic functions
Generic Function, (setf columns): Private generic functions
Generic Function, (setf database-connection): Public generic functions
Generic Function, (setf join-clause): Private generic functions
Generic Function, (setf join-type): Private generic functions
Generic Function, (setf lhs-column): Private generic functions
Generic Function, (setf operation): Private generic functions
Generic Function, (setf operator): Private generic functions
Generic Function, (setf parent): Private generic functions
Generic Function, (setf rhs-column): Private generic functions
Generic Function, (setf table): Private generic functions
Generic Function, ->sxql: Public generic functions
Generic Function, abstractp: Public generic functions
Generic Function, add-filter: Public generic functions
Generic Function, add-join: Public generic functions
Generic Function, add-table: Public generic functions
Generic Function, add-union: Public generic functions
Generic Function, all-from-set: Public generic functions
Generic Function, children: Private generic functions
Generic Function, class-mapped: Public generic functions
Generic Function, clean-tuple: Private generic functions
Generic Function, clone: Public generic functions
Generic Function, col-autoincrement-p: Public generic functions
Generic Function, col-check: Public generic functions
Generic Function, col-foreign: Public generic functions
Generic Function, col-index-p: Public generic functions
Generic Function, col-null-p: Public generic functions
Generic Function, col-primary-p: Public generic functions
Generic Function, col-type: Public generic functions
Generic Function, col-unique-p: Public generic functions
Generic Function, columns: Private generic functions
Generic Function, convert-column-type: Private generic functions
Generic Function, database-connection: Public generic functions
Generic Function, database-connection-spec: Private generic functions
Generic Function, database-name: Public generic functions
Generic Function, database-type: Public generic functions
Generic Function, deferredp: Public generic functions
Generic Function, deflate: Public generic functions
Generic Function, del: Public generic functions
Generic Function, dfs: Private generic functions
Generic Function, digest: Public generic functions
Generic Function, drop-table: Public generic functions
Generic Function, inflate: Public generic functions
Generic Function, join-clause: Private generic functions
Generic Function, join-type: Private generic functions
Generic Function, key: Private generic functions
Generic Function, lhs-column: Private generic functions
Generic Function, make-connection: Private generic functions
Generic Function, nadd-filter: Private generic functions
Generic Function, nadd-join: Private generic functions
Generic Function, nadd-table: Private generic functions
Generic Function, nadd-union: Private generic functions
Generic Function, operation: Private generic functions
Generic Function, operator: Private generic functions
Generic Function, orizuru-orm-type->sql: Public generic functions
Generic Function, parent: Private generic functions
Generic Function, plist->object: Public generic functions
Generic Function, query-set=: Public generic functions
Generic Function, rhs-column: Private generic functions
Generic Function, save: Public generic functions
Generic Function, slot-tuple: Private generic functions
Generic Function, split-tables-name: Private generic functions
Generic Function, table: Private generic functions
Generic Function, table-database: Public generic functions
Generic Function, table-name: Public generic functions
Generic Function, text: Private generic functions
get-class-slot: Public ordinary functions
get-config-value: Public ordinary functions
get-configuration: Public ordinary functions
get-connection: Public ordinary functions
get-db: Public ordinary functions
get-last-migration: Public ordinary functions
get-migration-dir: Private ordinary functions
get-slot: Public ordinary functions

I
increase-indent-space: Private ordinary functions
inflate: Public generic functions
inflate: Public generic functions
inflate: Public generic functions
inflate: Public generic functions
inflate: Public generic functions
inflate: Public generic functions
inflate: Public generic functions
inflate: Public generic functions
inflate: Public generic functions
inflate: Public generic functions
inflate: Public generic functions
initialize-*db*: Private ordinary functions
initialize-instance: Public standalone methods
insert-migration: Public ordinary functions

J
join-clause: Private generic functions
join-clause: Private generic functions
join-p-fn: Private ordinary functions
join-type: Private generic functions
join-type: Private generic functions
joins-only: Private ordinary functions

K
key: Private generic functions
key: Private generic functions

L
lhs-column: Private generic functions
lhs-column: Private generic functions
load-driver: Private ordinary functions
logical-assoc-p-fn: Private ordinary functions
logical-ops-only: Private ordinary functions

M
Macro, create: Public macros
Macro, create%: Public macros
Macro, create-from-plist: Public macros
Macro, defdeflate: Public macros
Macro, definflate: Public macros
Macro, deftable: Public macros
Macro, deref: Public macros
Macro, do-filter: Public macros
Macro, do-query: Public macros
Macro, exists: Public macros
Macro, filter: Public macros
Macro, filter-set: Public macros
Macro, gen-alias-integer->type: Private macros
Macro, gen-alias-type->integer: Private macros
Macro, gen-test-type: Private macros
Macro, make-qset: Private macros
Macro, make-query-set: Public macros
Macro, meta-query: Public macros
Macro, query: Public macros
Macro, single: Public macros
Macro, single!: Public macros
Macro, single-or-create: Public macros
Macro, sym->op-case: Private macros
Macro, union-op: Private macros
Macro, with-clone: Private macros
Macro, with-increased-indent: Private macros
Macro, with-join-column: Public macros
Macro, with-print-new-line: Private macros
Macro, with-table-package: Public macros
Macro, with-transaction: Public macros
make-connection: Private generic functions
make-connection: Private generic functions
make-constraint: Public ordinary functions
make-qset: Private macros
make-query-set: Public macros
make-query-set-and: Private ordinary functions
make-set: Private ordinary functions
make-table-column: Private ordinary functions
map-ref-action: Private ordinary functions
map-to-model: Public ordinary functions
meta-query: Public macros
Method, %clone: Private generic functions
Method, %make-query-set: Private generic functions
Method, %make-query-set: Private generic functions
Method, %table-database: Private generic functions
Method, (setf children): Private generic functions
Method, (setf class-mapped): Public generic functions
Method, (setf class-mapped): Public generic functions
Method, (setf col-type): Public generic functions
Method, (setf columns): Private generic functions
Method, (setf database-connection): Public generic functions
Method, (setf join-clause): Private generic functions
Method, (setf join-type): Private generic functions
Method, (setf lhs-column): Private generic functions
Method, (setf operation): Private generic functions
Method, (setf operator): Private generic functions
Method, (setf parent): Private generic functions
Method, (setf rhs-column): Private generic functions
Method, (setf table): Private generic functions
Method, ->sxql: Public generic functions
Method, ->sxql: Public generic functions
Method, ->sxql: Public generic functions
Method, ->sxql: Public generic functions
Method, ->sxql: Public generic functions
Method, ->sxql: Public generic functions
Method, ->sxql: Public generic functions
Method, ->sxql: Public generic functions
Method, abstractp: Public generic functions
Method, add-filter: Public generic functions
Method, add-filter: Public generic functions
Method, add-filter: Public generic functions
Method, add-filter: Public generic functions
Method, add-filter: Public generic functions
Method, add-filter: Public generic functions
Method, add-filter: Public generic functions
Method, add-join: Public generic functions
Method, add-join: Public generic functions
Method, add-join: Public generic functions
Method, add-table: Public generic functions
Method, add-union: Public generic functions
Method, add-union: Public generic functions
Method, add-union: Public generic functions
Method, add-union: Public generic functions
Method, add-union: Public generic functions
Method, add-union: Public generic functions
Method, add-union: Public generic functions
Method, all-from-set: Public generic functions
Method, children: Private generic functions
Method, class-mapped: Public generic functions
Method, clean-tuple: Private generic functions
Method, clone: Public generic functions
Method, clone: Public generic functions
Method, clone: Public generic functions
Method, clone: Public generic functions
Method, clone: Public generic functions
Method, clone: Public generic functions
Method, clone: Public generic functions
Method, col-autoincrement-p: Public generic functions
Method, col-check: Public generic functions
Method, col-foreign: Public generic functions
Method, col-index-p: Public generic functions
Method, col-null-p: Public generic functions
Method, col-primary-p: Public generic functions
Method, col-type: Public generic functions
Method, col-unique-p: Public generic functions
Method, columns: Private generic functions
Method, compute-effective-slot-definition: Public standalone methods
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, convert-column-type: Private generic functions
Method, database-connection: Public generic functions
Method, database-connection-spec: Private generic functions
Method, database-name: Public generic functions
Method, database-type: Public generic functions
Method, deferredp: Public generic functions
Method, deflate: Public generic functions
Method, deflate: Public generic functions
Method, deflate: Public generic functions
Method, deflate: Public generic functions
Method, del: Public generic functions
Method, dfs: Private generic functions
Method, digest: Public generic functions
Method, direct-slot-definition-class: Public standalone methods
Method, drop-table: Public generic functions
Method, drop-table: Public generic functions
Method, effective-slot-definition-class: Public standalone methods
Method, inflate: Public generic functions
Method, inflate: Public generic functions
Method, inflate: Public generic functions
Method, inflate: Public generic functions
Method, inflate: Public generic functions
Method, inflate: Public generic functions
Method, inflate: Public generic functions
Method, inflate: Public generic functions
Method, inflate: Public generic functions
Method, inflate: Public generic functions
Method, initialize-instance: Public standalone methods
Method, join-clause: Private generic functions
Method, join-type: Private generic functions
Method, key: Private generic functions
Method, lhs-column: Private generic functions
Method, make-connection: Private generic functions
Method, nadd-filter: Private generic functions
Method, nadd-join: Private generic functions
Method, nadd-table: Private generic functions
Method, nadd-table: Private generic functions
Method, nadd-union: Private generic functions
Method, operation: Private generic functions
Method, operator: Private generic functions
Method, orizuru-orm-type->sql: Public generic functions
Method, orizuru-orm-type->sql: Public generic functions
Method, orizuru-orm-type->sql: Public generic functions
Method, orizuru-orm-type->sql: Public generic functions
Method, orizuru-orm-type->sql: Public generic functions
Method, orizuru-orm-type->sql: Public generic functions
Method, orizuru-orm-type->sql: Public generic functions
Method, orizuru-orm-type->sql: Public generic functions
Method, orizuru-orm-type->sql: Public generic functions
Method, parent: Private generic functions
Method, plist->object: Public generic functions
Method, plist->object: Public generic functions
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, query-set=: Public generic functions
Method, query-set=: Public generic functions
Method, query-set=: Public generic functions
Method, query-set=: Public generic functions
Method, query-set=: Public generic functions
Method, query-set=: Public generic functions
Method, register-fixture: Public standalone methods
Method, rhs-column: Private generic functions
Method, save: Public generic functions
Method, slot-tuple: Private generic functions
Method, split-tables-name: Private generic functions
Method, split-tables-name: Private generic functions
Method, table: Private generic functions
Method, table-database: Public generic functions
Method, table-name: Public generic functions
Method, text: Private generic functions
Method, validate-superclass: Public standalone methods
Method, validate-superclass: Public standalone methods
migrate: Public ordinary functions
migration-history-p: Public ordinary functions
migration-history-pathname: Private ordinary functions

N
nadd-filter: Private generic functions
nadd-filter: Private generic functions
nadd-join: Private generic functions
nadd-join: Private generic functions
nadd-table: Private generic functions
nadd-table: Private generic functions
nadd-table: Private generic functions
nadd-union: Private generic functions
nadd-union: Private generic functions
non-recursive-collect-child: Private ordinary functions

O
operation: Private generic functions
operation: Private generic functions
operator: Private generic functions
operator: Private generic functions
orizuru-orm-type->sql: Public generic functions
orizuru-orm-type->sql: Public generic functions
orizuru-orm-type->sql: Public generic functions
orizuru-orm-type->sql: Public generic functions
orizuru-orm-type->sql: Public generic functions
orizuru-orm-type->sql: Public generic functions
orizuru-orm-type->sql: Public generic functions
orizuru-orm-type->sql: Public generic functions
orizuru-orm-type->sql: Public generic functions
orizuru-orm-type->sql: Public generic functions

P
parent: Private generic functions
parent: Private generic functions
plist->object: Public generic functions
plist->object: Public generic functions
plist->object: Public generic functions
plist-keys: Public ordinary functions
print-children: Private ordinary functions
print-indent-spaces: Private ordinary functions
print-new-line: Private ordinary functions
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
process-slot: Private ordinary functions
push-child: Private ordinary functions

Q
query: Public macros
query-low-level: Public ordinary functions
query-set=: Public generic functions
query-set=: Public generic functions
query-set=: Public generic functions
query-set=: Public generic functions
query-set=: Public generic functions
query-set=: Public generic functions
query-set=: Public generic functions

R
read-migration-history: Private ordinary functions
register-fixture: Public standalone methods
remap-filter: Private ordinary functions
remap-ilike: Private ordinary functions
remove-child: Private ordinary functions
rename-migration-history: Public ordinary functions
rhs-column: Private generic functions
rhs-column: Private generic functions
rollback: Public ordinary functions

S
save: Public generic functions
save: Public generic functions
separate-slots-and-options: Private ordinary functions
serialize: Private ordinary functions
serialize-plist: Private ordinary functions
set-all-parents: Private ordinary functions
set-all-parents*: Private ordinary functions
set-index: Private ordinary functions
set-null: Private ordinary functions
set-primary: Private ordinary functions
set-proper-quote-character: Private ordinary functions
set-unique: Private ordinary functions
setup: Public ordinary functions
signal-error: Private ordinary functions
signal-if-lhs-and-rhs-null: Private ordinary functions
single: Public macros
single!: Public macros
single-or-create: Public macros
slot-tuple: Private generic functions
slot-tuple: Private generic functions
sort-slot-list: Private ordinary functions
split-tables-name: Private generic functions
split-tables-name: Private generic functions
split-tables-name: Private generic functions
sqlize: Public ordinary functions
strcat: Public ordinary functions
sym->filter: Private ordinary functions
sym->filter-fields: Private ordinary functions
sym->filter-p: Private ordinary functions
sym->join: Private ordinary functions
sym->join-fields: Private ordinary functions
sym->join-p: Private ordinary functions
sym->op: Private ordinary functions
sym->op-case: Private macros
sym-join-fields-w/explicit-column: Private ordinary functions
sym-w/explicit-column-p: Private ordinary functions
sym-w/joins-p: Private ordinary functions

T
table: Private generic functions
table: Private generic functions
table-database: Public generic functions
table-database: Public generic functions
table-name: Public generic functions
table-name: Public generic functions
table-p-fn: Private ordinary functions
tables-only: Private ordinary functions
tables-unions-only: Private ordinary functions
text: Private generic functions
text: Private generic functions

U
union-op: Private macros
union-p-fn: Private ordinary functions
unions-only: Private ordinary functions
use-first-table-available: Private ordinary functions

V
validate-all-databases: Private ordinary functions
validate-connection-spec: Private ordinary functions
validate-superclass: Public standalone methods
validate-superclass: Public standalone methods

W
with-clone: Private macros
with-increased-indent: Private macros
with-join-column: Public macros
with-print-new-line: Private macros
with-table-package: Public macros
with-transaction: Public macros

Jump to:   %   (   -  
A   B   C   D   E   F   G   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W  

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

A.3 Variables

Jump to:   *   +  
A   C   D   J   K   L   N   O   P   R   S   T  
Index Entry  Section

*
*after-config-hook*: Public special variables
*compile-sxql-tree*: Public special variables
*config*: Private special variables
*db*: Private special variables
*default-db*: Public special variables
*foreign-slots-class-package*: Public special variables
*full-select-table-sxql*: Public special variables
*print-indent-spaces*: Private special variables
*timestamp-column-uses-timezone-p*: Public special variables

+
+allowed-logical-op+: Private constants
+create-table-format-string+: Private constants
+db-params+: Private constants
+id-column-name+: Public constants
+op-ilike+: Private constants
+op-like+: Private constants
+op-scanner+: Private constants
+op<+: Private constants
+op<=+: Private constants
+op=+: Private constants
+op>+: Private constants
+op>=+: Private constants
+postgresql-autoincrement-column-qualifier+: Public constants
+re-op+: Private constants
+referential-actions+: Private constants
+slot-mapping+: Private constants
+standard-class-options+: Private constants
+system-mapping+: Private constants
+table-field-splitter+: Private constants
+table-splitter+: Private constants
+trim-op+: Private constants

A
abstractp: Public classes

C
children: Public classes
class-mapped: Public classes
col-autoincrement-p: Private classes
col-autoincrement-p: Private classes
col-check: Private classes
col-check: Private classes
col-foreign: Private classes
col-foreign: Private classes
col-index-p: Private classes
col-index-p: Private classes
col-null-p: Private classes
col-null-p: Private classes
col-primary-p: Private classes
col-primary-p: Private classes
col-type: Private classes
col-unique-p: Private classes
col-unique-p: Private classes
columns: Public classes
conn: Public classes
conn-spec: Public classes
Constant, +allowed-logical-op+: Private constants
Constant, +create-table-format-string+: Private constants
Constant, +db-params+: Private constants
Constant, +id-column-name+: Public constants
Constant, +op-ilike+: Private constants
Constant, +op-like+: Private constants
Constant, +op-scanner+: Private constants
Constant, +op<+: Private constants
Constant, +op<=+: Private constants
Constant, +op=+: Private constants
Constant, +op>+: Private constants
Constant, +op>=+: Private constants
Constant, +postgresql-autoincrement-column-qualifier+: Public constants
Constant, +re-op+: Private constants
Constant, +referential-actions+: Private constants
Constant, +slot-mapping+: Private constants
Constant, +standard-class-options+: Private constants
Constant, +system-mapping+: Private constants
Constant, +table-field-splitter+: Private constants
Constant, +table-splitter+: Private constants
Constant, +trim-op+: Private constants

D
database: Public classes
deferredp: Public classes

J
join-clause: Public classes
join-type: Public classes

K
key: Public conditions

L
lhs-column: Public classes

N
name: Public classes

O
operation: Public classes
operator: Public classes

P
parent: Public classes

R
rhs-column: Public classes

S
Slot, abstractp: Public classes
Slot, children: Public classes
Slot, class-mapped: Public classes
Slot, col-autoincrement-p: Private classes
Slot, col-autoincrement-p: Private classes
Slot, col-check: Private classes
Slot, col-check: Private classes
Slot, col-foreign: Private classes
Slot, col-foreign: Private classes
Slot, col-index-p: Private classes
Slot, col-index-p: Private classes
Slot, col-null-p: Private classes
Slot, col-null-p: Private classes
Slot, col-primary-p: Private classes
Slot, col-primary-p: Private classes
Slot, col-type: Private classes
Slot, col-unique-p: Private classes
Slot, col-unique-p: Private classes
Slot, columns: Public classes
Slot, conn: Public classes
Slot, conn-spec: Public classes
Slot, database: Public classes
Slot, deferredp: Public classes
Slot, join-clause: Public classes
Slot, join-type: Public classes
Slot, key: Public conditions
Slot, lhs-column: Public classes
Slot, name: Public classes
Slot, operation: Public classes
Slot, operator: Public classes
Slot, parent: Public classes
Slot, rhs-column: Public classes
Slot, table: Public classes
Slot, text: Private conditions
Slot, type: Public classes
Special Variable, *after-config-hook*: Public special variables
Special Variable, *compile-sxql-tree*: Public special variables
Special Variable, *config*: Private special variables
Special Variable, *db*: Private special variables
Special Variable, *default-db*: Public special variables
Special Variable, *foreign-slots-class-package*: Public special variables
Special Variable, *full-select-table-sxql*: Public special variables
Special Variable, *print-indent-spaces*: Private special variables
Special Variable, *timestamp-column-uses-timezone-p*: Public special variables

T
table: Public classes
text: Private conditions
type: Public classes

Jump to:   *   +  
A   C   D   J   K   L   N   O   P   R   S   T  

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

A.4 Data types

Jump to:   <  
B   C   D   E   F   I   J   L   M   N   O   P   Q   S   T   U   V  
Index Entry  Section

<
<database>: Public classes
<table-class>: Public classes
<table>: Public classes

B
bigint: Public types

C
Class, <database>: Public classes
Class, <table-class>: Public classes
Class, <table>: Public classes
Class, filtered-query-set: Public classes
Class, join-query-set: Public classes
Class, logical-assoc-query-set: Public classes
Class, query-set: Public classes
Class, table-class-direct-slot-definition: Private classes
Class, table-class-effective-slot-definition: Private classes
Class, table-class-slot-definition-mixin: Private classes
Class, table-query-set: Public classes
Class, union-query-set: Public classes
Condition, configuration-error: Public conditions
Condition, empty-table: Public conditions
Condition, no-configuration-error: Public conditions
Condition, orizuru-orm-error: Private conditions
Condition, query-error: Public conditions
Condition, query-set-error: Public conditions
Condition, query-set-foreign-reference-error: Public conditions
config.lisp: The orizuru-orm/src/config․lisp file
configuration-error: Public conditions
connect.lisp: The orizuru-orm/src/connect․lisp file
constants.lisp: The orizuru-orm/src/constants․lisp file

D
datetime: Public types
double: Public types

E
empty-table: Public conditions
errors.lisp: The orizuru-orm/src/errors․lisp file

F
File, config.lisp: The orizuru-orm/src/config․lisp file
File, connect.lisp: The orizuru-orm/src/connect․lisp file
File, constants.lisp: The orizuru-orm/src/constants․lisp file
File, errors.lisp: The orizuru-orm/src/errors․lisp file
File, fixture.lisp: The orizuru-orm/src/fixture․lisp file
File, inflate-deflate.lisp: The orizuru-orm/src/inflate-deflate․lisp file
File, interface.lisp: The orizuru-orm/src/interface․lisp file
File, meta.lisp: The orizuru-orm/src/meta․lisp file
File, migration.lisp: The orizuru-orm/src/migration․lisp file
File, orizuru-orm.asd: The orizuru-orm/orizuru-orm․asd file
File, package.lisp: The orizuru-orm/src/package․lisp file
File, query-low-level.lisp: The orizuru-orm/src/query-low-level․lisp file
File, query-set.lisp: The orizuru-orm/src/query-set․lisp file
File, query.lisp: The orizuru-orm/src/query․lisp file
File, sql.lisp: The orizuru-orm/src/sql․lisp file
File, table.lisp: The orizuru-orm/src/table․lisp file
File, transaction.lisp: The orizuru-orm/src/transaction․lisp file
File, types.lisp: The orizuru-orm/src/types․lisp file
File, util.lisp: The orizuru-orm/src/util․lisp file
filtered-query-set: Public classes
fixture.lisp: The orizuru-orm/src/fixture․lisp file

I
inflate-deflate.lisp: The orizuru-orm/src/inflate-deflate․lisp file
int: Public types
integer: Private types
interface.lisp: The orizuru-orm/src/interface․lisp file

J
join-query-set: Public classes

L
logical-assoc-query-set: Public classes

M
meta.lisp: The orizuru-orm/src/meta․lisp file
migration.lisp: The orizuru-orm/src/migration․lisp file
Module, src: The orizuru-orm/src module

N
no-configuration-error: Public conditions
numeric: Public types

O
orizuru-orm: The orizuru-orm system
orizuru-orm: The orizuru-orm package
orizuru-orm-error: Private conditions
orizuru-orm.asd: The orizuru-orm/orizuru-orm․asd file
orizuru-orm.config: The orizuru-orm․config package
orizuru-orm.connect: The orizuru-orm․connect package
orizuru-orm.constants: The orizuru-orm․constants package
orizuru-orm.errors: The orizuru-orm․errors package
orizuru-orm.fixture: The orizuru-orm․fixture package
orizuru-orm.inflate-deflate: The orizuru-orm․inflate-deflate package
orizuru-orm.interface: The orizuru-orm․interface package
orizuru-orm.meta: The orizuru-orm․meta package
orizuru-orm.migration: The orizuru-orm․migration package
orizuru-orm.query: The orizuru-orm․query package
orizuru-orm.query-set: The orizuru-orm․query-set package
orizuru-orm.query.lowlevel: The orizuru-orm․query․lowlevel package
orizuru-orm.sql: The orizuru-orm․sql package
orizuru-orm.table: The orizuru-orm․table package
orizuru-orm.transaction: The orizuru-orm․transaction package
orizuru-orm.types: The orizuru-orm․types package
orizuru-orm.util: The orizuru-orm․util package

P
Package, orizuru-orm: The orizuru-orm package
Package, orizuru-orm.config: The orizuru-orm․config package
Package, orizuru-orm.connect: The orizuru-orm․connect package
Package, orizuru-orm.constants: The orizuru-orm․constants package
Package, orizuru-orm.errors: The orizuru-orm․errors package
Package, orizuru-orm.fixture: The orizuru-orm․fixture package
Package, orizuru-orm.inflate-deflate: The orizuru-orm․inflate-deflate package
Package, orizuru-orm.interface: The orizuru-orm․interface package
Package, orizuru-orm.meta: The orizuru-orm․meta package
Package, orizuru-orm.migration: The orizuru-orm․migration package
Package, orizuru-orm.query: The orizuru-orm․query package
Package, orizuru-orm.query-set: The orizuru-orm․query-set package
Package, orizuru-orm.query.lowlevel: The orizuru-orm․query․lowlevel package
Package, orizuru-orm.sql: The orizuru-orm․sql package
Package, orizuru-orm.table: The orizuru-orm․table package
Package, orizuru-orm.transaction: The orizuru-orm․transaction package
Package, orizuru-orm.types: The orizuru-orm․types package
Package, orizuru-orm.util: The orizuru-orm․util package
package.lisp: The orizuru-orm/src/package․lisp file

Q
query-error: Public conditions
query-low-level.lisp: The orizuru-orm/src/query-low-level․lisp file
query-set: Public classes
query-set-error: Public conditions
query-set-foreign-reference-error: Public conditions
query-set.lisp: The orizuru-orm/src/query-set․lisp file
query.lisp: The orizuru-orm/src/query․lisp file

S
smallint: Public types
sql.lisp: The orizuru-orm/src/sql․lisp file
src: The orizuru-orm/src module
System, orizuru-orm: The orizuru-orm system

T
table-class-direct-slot-definition: Private classes
table-class-effective-slot-definition: Private classes
table-class-slot-definition-mixin: Private classes
table-query-set: Public classes
table.lisp: The orizuru-orm/src/table․lisp file
text: Public types
timestamp: Public types
transaction.lisp: The orizuru-orm/src/transaction․lisp file
Type, bigint: Public types
Type, datetime: Public types
Type, double: Public types
Type, int: Public types
Type, integer: Private types
Type, numeric: Public types
Type, smallint: Public types
Type, text: Public types
Type, timestamp: Public types
Type, varchar: Public types
types.lisp: The orizuru-orm/src/types․lisp file

U
union-query-set: Public classes
util.lisp: The orizuru-orm/src/util․lisp file

V
varchar: Public types

Jump to:   <  
B   C   D   E   F   I   J   L   M   N   O   P   Q   S   T   U   V