The orizuru-orm Reference Manual

Table of Contents

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 3.0 "Montgomery Scott" on Mon Dec 02 11:00:50 2019 GMT+0.


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

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.


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

2 Systems

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


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

2.1 orizuru-orm

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

Description

An ORM for Common Lisp and PostgreSQL.

Version

0.0.1

Dependencies
Source

orizuru-orm.asd (file)

Component

src (module)


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

3 Modules

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


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

3.1 orizuru-orm/src

Parent

orizuru-orm (system)

Location

src/

Components

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

4 Files

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


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

4.1 Lisp


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

4.1.1 orizuru-orm.asd

Location

orizuru-orm.asd

Systems

orizuru-orm (system)


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

4.1.2 orizuru-orm/src/package.lisp

Parent

src (module)

Location

src/package.lisp

Packages

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

4.1.3 orizuru-orm/src/constants.lisp

Dependency

package.lisp (file)

Parent

src (module)

Location

src/constants.lisp

Exported Definitions

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

4.1.4 orizuru-orm/src/errors.lisp

Dependency

constants.lisp (file)

Parent

src (module)

Location

src/errors.lisp

Exported Definitions
Internal Definitions

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

4.1.5 orizuru-orm/src/config.lisp

Dependency

errors.lisp (file)

Parent

src (module)

Location

src/config.lisp

Packages

orizuru-orm.config

Exported Definitions
Internal Definitions

*config* (special variable)


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

4.1.6 orizuru-orm/src/util.lisp

Dependency

config.lisp (file)

Parent

src (module)

Location

src/util.lisp

Exported Definitions
Internal Definitions

all-slots (function)


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

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

Dependency

util.lisp (file)

Parent

src (module)

Location

src/query-low-level.lisp

Exported Definitions

query-low-level (function)


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

4.1.8 orizuru-orm/src/connect.lisp

Dependency

query-low-level.lisp (file)

Parent

src (module)

Location

src/connect.lisp

Exported Definitions
Internal Definitions

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

4.1.9 orizuru-orm/src/types.lisp

Dependency

connect.lisp (file)

Parent

src (module)

Location

src/types.lisp

Exported Definitions
Internal Definitions

integer (type)


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

4.1.10 orizuru-orm/src/sql.lisp

Dependency

types.lisp (file)

Parent

src (module)

Location

src/sql.lisp

Exported Definitions
Internal Definitions

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

4.1.11 orizuru-orm/src/meta.lisp

Dependency

sql.lisp (file)

Parent

src (module)

Location

src/meta.lisp

Exported Definitions
Internal Definitions

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

4.1.12 orizuru-orm/src/query.lisp

Dependency

meta.lisp (file)

Parent

src (module)

Location

src/query.lisp

Exported Definitions

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

4.1.13 orizuru-orm/src/migration.lisp

Dependency

query.lisp (file)

Parent

src (module)

Location

src/migration.lisp

Exported Definitions
Internal Definitions

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

4.1.14 orizuru-orm/src/table.lisp

Dependency

migration.lisp (file)

Parent

src (module)

Location

src/table.lisp

Exported Definitions
Internal Definitions

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

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

Dependency

table.lisp (file)

Parent

src (module)

Location

src/inflate-deflate.lisp

Exported Definitions
Internal Definitions

db-nil-p (function)


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

4.1.16 orizuru-orm/src/interface.lisp

Dependency

inflate-deflate.lisp (file)

Parent

src (module)

Location

src/interface.lisp

Exported Definitions
Internal Definitions

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

4.1.17 orizuru-orm/src/fixture.lisp

Dependency

interface.lisp (file)

Parent

src (module)

Location

src/fixture.lisp


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

4.1.18 orizuru-orm/src/transaction.lisp

Dependency

fixture.lisp (file)

Parent

src (module)

Location

src/transaction.lisp

Exported Definitions

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

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

Dependency

transaction.lisp (file)

Parent

src (module)

Location

src/query-set.lisp

Exported Definitions
Internal Definitions

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

5 Packages

Packages are listed by definition order.


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

5.1 orizuru-orm.transaction

Implements transactions.

Source

package.lisp (file)

Use List
Exported Definitions

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

5.2 orizuru-orm.errors

Definition of Orizuru-Orm errors.

Source

package.lisp (file)

Use List

common-lisp

Used By List

orizuru-orm.query-set

Exported Definitions
Internal Definitions

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

5.3 orizuru-orm.connect

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

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

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

5.4 orizuru-orm.sql

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

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

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

5.5 orizuru-orm

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

Source

package.lisp (file)

Use List

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

5.6 orizuru-orm.query-set

Implements query sets.

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

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

5.7 orizuru-orm.query.lowlevel

Executing cl-dbi queries.

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions

query-low-level (function)


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

5.8 orizuru-orm.query

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

Source

package.lisp (file)

Use List
Used By List

orizuru-orm.query-set

Exported Definitions

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

5.9 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 (file)

Use List
Used By List

orizuru-orm.query-set

Exported Definitions
Internal Definitions

db-nil-p (function)


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

5.10 orizuru-orm.table

Implements the deftable macro.

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

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

5.11 orizuru-orm.types

Implements the database types.

Source

package.lisp (file)

Used By List
Exported Definitions
Internal Definitions

integer (type)


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

5.12 orizuru-orm.fixture

Customizes clos-fixtures for use in Orizuru-Orm.

Source

package.lisp (file)

Use List

common-lisp


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

5.13 orizuru-orm.constants

Some useful constants

Source

package.lisp (file)

Use List
Used By List

orizuru-orm.query-set

Exported Definitions

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

5.14 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 (file)

Use List
Exported Definitions
Internal Definitions

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

5.15 orizuru-orm.util

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

Source

package.lisp (file)

Use List
Used By List
Exported Definitions
Internal Definitions

all-slots (function)


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

5.16 orizuru-orm.meta

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

Source

package.lisp (file)

Use List
Used By List

orizuru-orm.query-set

Exported Definitions
Internal Definitions

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

5.17 orizuru-orm.interface

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

Source

package.lisp (file)

Use List
Exported Definitions
Internal Definitions

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

5.18 orizuru-orm.config

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

Source

config.lisp (file)

Use List
Exported Definitions
Internal Definitions

*config* (special variable)


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

6 Definitions

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


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

6.1 Exported definitions


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

6.1.1 Constants

Constant: +id-column-name+
Package

orizuru-orm.constants

Source

constants.lisp (file)

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

orizuru-orm.constants

Source

constants.lisp (file)


Next: , Previous: , Up: Exported definitions   [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 (file)

Special Variable: *compile-sxql-tree*
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Special Variable: *default-db*

The name of the default database

Package

orizuru-orm.connect

Source

connect.lisp (file)

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

orizuru-orm.util

Source

util.lisp (file)

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

orizuru-orm.query-set

Source

query-set.lisp (file)

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

orizuru-orm.sql

Source

sql.lisp (file)


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

6.1.3 Macros

Macro: create CLASS-NAME &rest ARGS

Create an object.

Package

orizuru-orm.interface

Source

interface.lisp (file)

Macro: create% OBJ
Package

orizuru-orm.interface

Source

interface.lisp (file)

Macro: create-from-plist CLASS PLIST
Package

orizuru-orm.interface

Source

interface.lisp (file)

Macro: defdeflate (OBJ-NAME OBJ-TYPE) &rest BODY
Package

orizuru-orm.inflate-deflate

Source

inflate-deflate.lisp (file)

Macro: definflate (OBJ-NAME OBJ-TYPE-NAME) &rest BODY
Package

orizuru-orm.inflate-deflate

Source

inflate-deflate.lisp (file)

Macro: deftable NAME (&rest SUPERCLASSES) &body SLOTS-AND-OPTIONS

Define a table.

Package

orizuru-orm.table

Source

table.lisp (file)

Macro: deref OBJ FIELD
Package

orizuru-orm.interface

Source

interface.lisp (file)

Macro: do-filter (RESULT-NAME CLASS &rest PARAMS) &rest BODY
Package

orizuru-orm.interface

Source

interface.lisp (file)

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 (file)

Macro: exists CLASS &rest PARAMS
Package

orizuru-orm.interface

Source

interface.lisp (file)

Macro: filter CLASS &rest PARAMS
Package

orizuru-orm.interface

Source

interface.lisp (file)

Macro: filter-set &optional QSET PARAMS LOGICAL-OP
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Macro: make-query-set &optional FROM PARAM
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Macro: meta-query QUERY DATABASE-NAME BODY
Package

orizuru-orm.query

Source

query.lisp (file)

Macro: query QUERY &optional DATABASE-NAME

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

Package

orizuru-orm.query

Source

query.lisp (file)

Macro: single CLASS &rest PARAMS
Package

orizuru-orm.interface

Source

interface.lisp (file)

Macro: single! CLASS &rest PARAMS
Package

orizuru-orm.interface

Source

interface.lisp (file)

Macro: single-or-create CLASS &rest PARAMS
Package

orizuru-orm.interface

Source

interface.lisp (file)

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

orizuru-orm.query-set

Source

query-set.lisp (file)

Macro: with-table-package (THE-PACKAGE) &body BODY
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Macro: with-transaction (&optional DB) &rest BODY
Package

orizuru-orm.transaction

Source

transaction.lisp (file)


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

6.1.4 Functions

Function: add-constraint TABLE-NAME BODY

SQL to add a constraint to a table.

Package

orizuru-orm.sql

Source

sql.lisp (file)

Function: all-foreign-reference CLASS

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

Package

orizuru-orm.util

Source

util.lisp (file)

Function: all-foreign-slots CLASS
Package

orizuru-orm.util

Source

util.lisp (file)

Function: all-slots-name CLASS
Package

orizuru-orm.util

Source

util.lisp (file)

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 (file)

Function: begin-transaction &optional DB
Package

orizuru-orm.transaction

Source

transaction.lisp (file)

Function: build TABLE-NAME
Package

orizuru-orm.migration

Source

migration.lisp (file)

Function: commit &optional DB
Package

orizuru-orm.transaction

Source

transaction.lisp (file)

Function: connect ()

Connect to all the databases specified in the configuration.

Package

orizuru-orm.connect

Source

connect.lisp (file)

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 (file)

Function: create-table TABLE-NAME DIGEST
Package

orizuru-orm.migration

Source

migration.lisp (file)

Function: debugp ()

Determine if Orizuru-Orm is in debug mode.

Package

orizuru-orm.config

Source

config.lisp (file)

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 (file)

Function: delete-migrations &optional FORCE
Package

orizuru-orm.migration

Source

migration.lisp (file)

Function: diff-digest DIGEST-A DIGEST-B

Compute the difference between two digests. See DIGEST.

Package

orizuru-orm.meta

Source

meta.lisp (file)

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 (file)

Function: disconnect ()

Cut all connections.

Package

orizuru-orm.connect

Source

connect.lisp (file)

Function: disconnect-clean ()

Cut all connections and reset *db* hashtable

Package

orizuru-orm.connect

Source

connect.lisp (file)

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 (file)

Function: drop-constraint TABLE-NAME COLUMN-NAME TYPE

SQL to drop a constraint from a table.

Package

orizuru-orm.sql

Source

sql.lisp (file)

Function: find-class-slot CLASS NAME

Find a slot by name

Package

orizuru-orm.util

Source

util.lisp (file)

Function: find-foreign-reference CLASS-FROM CLASS-TO
Package

orizuru-orm.util

Source

util.lisp (file)

Function: find-slot OBJ NAME

Find a slot by name

Package

orizuru-orm.util

Source

util.lisp (file)

Function: find-slot-name CLASS SLOT-SYMBOL
Package

orizuru-orm.util

Source

util.lisp (file)

Function: foreign-reference-between CLASS-FROM CLASS-TO
Package

orizuru-orm.util

Source

util.lisp (file)

Function: foreign-reference-class A
Package

orizuru-orm.util

Source

util.lisp (file)

Function: foreign-reference-slot-name A
Package

orizuru-orm.util

Source

util.lisp (file)

Function: get-class-slot CLASS NAME

Find a slot in a class by keyword name

Package

orizuru-orm.util

Source

util.lisp (file)

Function: get-config-value KEY

Get the value of ‘key‘ in the configuration.

Package

orizuru-orm.config

Source

config.lisp (file)

Function: get-configuration ()

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

Package

orizuru-orm.config

Source

config.lisp (file)

Function: get-connection &optional DATABASE-NAME

Return the connection handler for a given database.

Package

orizuru-orm.connect

Source

connect.lisp (file)

Function: get-db &optional DATABASE-NAME

Return the database matching a specific name

Package

orizuru-orm.connect

Source

connect.lisp (file)

Function: get-last-migration TABLE-NAME
Package

orizuru-orm.migration

Source

migration.lisp (file)

Function: get-slot OBJ NAME

Find slot by keyword name

Package

orizuru-orm.util

Source

util.lisp (file)

Function: insert-migration TABLE-NAME DIGEST

Insert a new diff to the migration history

Package

orizuru-orm.migration

Source

migration.lisp (file)

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 (file)

Function: map-to-model QUERY-SET CLASS-SYMBOL
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: migrate TABLE-CLASS DIFF
Package

orizuru-orm.migration

Source

migration.lisp (file)

Function: migration-history-p TABLE-NAME

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

Package

orizuru-orm.migration

Source

migration.lisp (file)

Function: plist-keys PLIST

Return the keys of a plist.

Package

orizuru-orm.util

Source

util.lisp (file)

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 (file)

Function: rename-migration-history TABLE-NAME NEW-NAME
Package

orizuru-orm.migration

Source

migration.lisp (file)

Function: rollback &optional DB
Package

orizuru-orm.transaction

Source

transaction.lisp (file)

Function: setup &key MIGRATIONS-DIRECTORY DATABASES DEBUG

Set the configuration.

Package

orizuru-orm.config

Source

config.lisp (file)

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 (file)

Function: strcat &rest STRINGS
Package

orizuru-orm.util

Source

util.lisp (file)


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

6.1.5 Generic functions

Generic Function: ->sxql OBJECT
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

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 Function: abstractp OBJECT
Package

orizuru-orm.meta

Methods
Method: abstractp (<TABLE-CLASS> <table-class>)

Whether the class corresponds to an SQL table or not.

Source

meta.lisp (file)

Generic Function: add-filter OBJECT CHILD &key LOGICAL-OP OPERATION LHS RHS
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

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 (file)

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 (file)

Methods
Method: add-table (OBJECT query-set) CHILD
Generic Function: add-union OBJECT TABLE
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

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 (file)

Methods
Method: all-from-set (OBJECT query-set) &key AS-PLIST
Generic Function: class-mapped OBJECT
Generic Function: (setf class-mapped) NEW-VALUE OBJECT
Package

orizuru-orm.query-set

Methods
Method: class-mapped (TABLE-QUERY-SET table-query-set)

automatically generated reader method

Source

query-set.lisp (file)

Method: (setf class-mapped) NEW-VALUE (TABLE-QUERY-SET table-query-set)

automatically generated writer method

Source

query-set.lisp (file)

Method: (setf class-mapped) VALUE (OBJECT query-set)
Source

query-set.lisp (file)

Generic Function: clone OBJECT
Package

orizuru-orm.util

Source

util.lisp (file)

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

query-set.lisp (file)

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

query-set.lisp (file)

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

query-set.lisp (file)

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

query-set.lisp (file)

Method: clone (OBJECT query-set)
Source

query-set.lisp (file)

Method: clone (OBJECT list)
Method: clone OBJECT
Generic Function: col-autoincrement-p OBJECT
Package

orizuru-orm.meta

Methods
Method: col-autoincrement-p (TABLE-CLASS-SLOT-DEFINITION-MIXIN table-class-slot-definition-mixin)

automatically generated reader method

Source

meta.lisp (file)

Generic Function: col-check OBJECT
Package

orizuru-orm.meta

Methods
Method: col-check (TABLE-CLASS-SLOT-DEFINITION-MIXIN table-class-slot-definition-mixin)

automatically generated reader method

Source

meta.lisp (file)

Generic Function: col-foreign OBJECT
Package

orizuru-orm.meta

Methods
Method: col-foreign (TABLE-CLASS-SLOT-DEFINITION-MIXIN table-class-slot-definition-mixin)

automatically generated reader method

Source

meta.lisp (file)

Generic Function: col-index-p OBJECT
Package

orizuru-orm.meta

Methods
Method: col-index-p (TABLE-CLASS-SLOT-DEFINITION-MIXIN table-class-slot-definition-mixin)

automatically generated reader method

Source

meta.lisp (file)

Generic Function: col-null-p OBJECT
Package

orizuru-orm.meta

Methods
Method: col-null-p (TABLE-CLASS-SLOT-DEFINITION-MIXIN table-class-slot-definition-mixin)

automatically generated reader method

Source

meta.lisp (file)

Generic Function: col-primary-p OBJECT
Package

orizuru-orm.meta

Methods
Method: col-primary-p (TABLE-CLASS-SLOT-DEFINITION-MIXIN table-class-slot-definition-mixin)

automatically generated reader method

Source

meta.lisp (file)

Generic Function: col-type OBJECT
Generic Function: (setf col-type) NEW-VALUE OBJECT
Package

orizuru-orm.meta

Methods
Method: col-type (TABLE-CLASS-SLOT-DEFINITION-MIXIN table-class-slot-definition-mixin)

automatically generated reader method

Source

meta.lisp (file)

Method: (setf col-type) NEW-VALUE (TABLE-CLASS-SLOT-DEFINITION-MIXIN table-class-slot-definition-mixin)

automatically generated writer method

Source

meta.lisp (file)

Generic Function: col-unique-p OBJECT
Package

orizuru-orm.meta

Methods
Method: col-unique-p (TABLE-CLASS-SLOT-DEFINITION-MIXIN table-class-slot-definition-mixin)

automatically generated reader method

Source

meta.lisp (file)

Generic Function: database-connection OBJECT
Generic Function: (setf database-connection) NEW-VALUE OBJECT
Package

orizuru-orm.connect

Methods
Method: database-connection (<DATABASE> <database>)
Method: (setf database-connection) NEW-VALUE (<DATABASE> <database>)

The underlying connection object.

Source

connect.lisp (file)

Generic Function: database-name OBJECT
Package

orizuru-orm.connect

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

The database name.

Source

connect.lisp (file)

Generic Function: database-type OBJECT
Package

orizuru-orm.connect

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

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

Source

connect.lisp (file)

Generic Function: deferredp OBJECT
Package

orizuru-orm.meta

Methods
Method: deferredp (<TABLE-CLASS> <table-class>)

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

Source

meta.lisp (file)

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 (file)

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 (file)

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 (file)

Generic Function: drop-table TABLE
Package

orizuru-orm.interface

Methods
Method: drop-table (TABLE-NAME symbol)
Source

interface.lisp (file)

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

interface.lisp (file)

Generic Function: inflate OBJ TYPE-NAME

Turn a string into a CLOS object.

Package

orizuru-orm.inflate-deflate

Source

inflate-deflate.lisp (file)

Methods
Method: inflate STAMP (TYPE (eql timestamp))
Method: inflate OBJ (TYPE (eql datetime))
Method: inflate OBJ (TYPE (eql varchar))
Method: inflate OBJ (TYPE (eql text))
Method: inflate OBJ (TYPE (eql double))
Method: inflate OBJ (TYPE (eql numeric))
Method: inflate OBJ (TYPE (eql smallint))
Method: inflate OBJ (TYPE (eql bigint))
Method: inflate OBJ (TYPE (eql int))
Method: inflate OBJ (TYPE (eql integer))
Generic Function: orizuru-orm-type->sql SYM
Package

orizuru-orm.sql

Source

sql.lisp (file)

Methods
Method: orizuru-orm-type->sql (SYM (eql timestamp))
Method: orizuru-orm-type->sql (SYM (eql numeric))
Method: orizuru-orm-type->sql (SYM (eql double))
Method: orizuru-orm-type->sql (SYM (eql smallint))
Method: orizuru-orm-type->sql (SYM (eql bigint))
Method: orizuru-orm-type->sql (SYM (eql int))
Method: orizuru-orm-type->sql (SYM (eql integer))
Method: orizuru-orm-type->sql (SYM (eql varchar))
Method: orizuru-orm-type->sql (SYM (eql text))
Generic Function: plist->object TABLE TUPLE
Package

orizuru-orm.interface

Methods
Method: plist->object (TABLE-NAME symbol) TUPLE
Source

interface.lisp (file)

Method: plist->object (TABLE <table-class>) TUPLE

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

Source

interface.lisp (file)

Generic Function: query-set= A B
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

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 (file)

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 (file)

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 (file)


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

6.1.6 Conditions

Condition: configuration-error ()

An error in the configuration.

Package

orizuru-orm.errors

Source

errors.lisp (file)

Direct superclasses

orizuru-orm-error (condition)

Direct methods

key (method)

Direct slots
Slot: key

The configuration key afflicted by the error.

Initargs

:key

Readers

key (generic function)

Condition: empty-table ()

Table has no slots.

Package

orizuru-orm.errors

Source

errors.lisp (file)

Direct superclasses

orizuru-orm-error (condition)

Condition: no-configuration-error ()

Orizuru-Orm was not configured.

Package

orizuru-orm.errors

Source

errors.lisp (file)

Direct superclasses

orizuru-orm-error (condition)

Condition: query-error ()

Error in a query.

Package

orizuru-orm.errors

Source

errors.lisp (file)

Direct superclasses

orizuru-orm-error (condition)

Condition: query-set-error ()

Error in a query set.

Package

orizuru-orm.errors

Source

errors.lisp (file)

Direct superclasses

orizuru-orm-error (condition)

Condition: query-set-foreign-reference-error ()

Error in a query set related to foreign reference.

Package

orizuru-orm.errors

Source

errors.lisp (file)

Direct superclasses

orizuru-orm-error (condition)


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

6.1.7 Classes

Class: <database> ()

A database.

Package

orizuru-orm.connect

Source

connect.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
Direct slots
Slot: type

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

Type

keyword

Initargs

:type

Readers

database-type (generic function)

Slot: name

The database name.

Type

string

Initargs

:name

Readers

database-name (generic function)

Slot: conn-spec

The connection specification.

Initargs

:conn-spec

Readers

database-connection-spec (generic function)

Slot: conn

The underlying connection object.

Initargs

:connection

Readers

database-connection (generic function)

Writers

(setf database-connection) (generic function)

Class: <table-class> ()

A table metaclass.

Package

orizuru-orm.meta

Source

meta.lisp (file)

Direct superclasses

standard-class (class)

Direct methods
Direct slots
Slot: abstractp

Whether the class corresponds to an SQL table or not.

Initargs

:abstractp

Readers

abstractp (generic function)

Slot: deferredp

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

Initargs

:deferredp

Readers

deferredp (generic function)

Slot: database

The database this class belongs to.

Initargs

:database

Readers

%table-database (generic function)

Class: <table> ()

The base class of all table classes.

Package

orizuru-orm.table

Source

table.lisp (file)

Direct superclasses

standard-object (class)

Direct methods
  • register-fixture (method)
  • del (method)
  • save (method)
Class: filtered-query-set ()
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Direct superclasses

query-set (class)

Direct methods
Direct slots
Slot: operation
Initargs

:operation

Initform

:=

Readers

operation (generic function)

Writers

(setf operation) (generic function)

Slot: lhs-column
Initargs

:lhs-column

Readers

lhs-column (generic function)

Writers

(setf lhs-column) (generic function)

Slot: rhs-column
Initargs

:rhs-column

Readers

rhs-column (generic function)

Writers

(setf rhs-column) (generic function)

Class: join-query-set ()
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Direct superclasses

table-query-set (class)

Direct methods
Direct slots
Slot: join-type
Initargs

:join-type

Initform

(quote sxql:inner-join)

Readers

join-type (generic function)

Writers

(setf join-type) (generic function)

Slot: join-clause
Initargs

:join-clause

Readers

join-clause (generic function)

Writers

(setf join-clause) (generic function)

Class: logical-assoc-query-set ()
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Direct superclasses

query-set (class)

Direct methods
Direct slots
Slot: operator
Initargs

:operator

Initform

:and

Readers

operator (generic function)

Writers

(setf operator) (generic function)

Class: query-set ()
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Direct slots
Slot: parent
Initargs

:parent

Readers

parent (generic function)

Writers

(setf parent) (generic function)

Slot: children
Initargs

:children

Initform

(quote nil)

Readers

children (generic function)

Writers

(setf children) (generic function)

Slot: columns
Initargs

:columns

Initform

:*

Readers

columns (generic function)

Writers

(setf columns) (generic function)

Class: table-query-set ()
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Direct superclasses

query-set (class)

Direct subclasses

join-query-set (class)

Direct methods
Direct slots
Slot: table
Initargs

:table

Readers

table (generic function)

Writers

(setf table) (generic function)

Slot: class-mapped
Type

symbol

Initargs

:class-mapped

Readers

class-mapped (generic function)

Writers

(setf class-mapped) (generic function)

Class: union-query-set ()
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Direct superclasses

query-set (class)

Direct methods

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

6.1.8 Types

Type: bigint ()
Package

orizuru-orm.types

Source

types.lisp (file)

Type: datetime ()
Package

orizuru-orm.types

Source

types.lisp (file)

Type: double ()
Package

orizuru-orm.types

Source

types.lisp (file)

Type: int ()
Package

orizuru-orm.types

Source

types.lisp (file)

Type: numeric ()
Package

orizuru-orm.types

Source

types.lisp (file)

Type: smallint ()
Package

orizuru-orm.types

Source

types.lisp (file)

Type: text ()
Package

orizuru-orm.types

Source

types.lisp (file)

Type: timestamp ()
Package

orizuru-orm.types

Source

types.lisp (file)

Type: varchar ()
Package

orizuru-orm.types

Source

types.lisp (file)


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

6.2 Internal definitions


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

6.2.1 Constants

Constant: +allowed-logical-op+
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

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

orizuru-orm.migration

Source

migration.lisp (file)

Constant: +db-params+
Package

orizuru-orm.connect

Source

connect.lisp (file)

Constant: +op-ilike+
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Constant: +op-like+
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Constant: +op-scanner+
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Constant: +op<+
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Constant: +op<=+
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Constant: +op=+
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Constant: +op>+
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Constant: +op>=+
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Constant: +re-op+
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Constant: +referential-actions+
Package

orizuru-orm.sql

Source

sql.lisp (file)

Constant: +slot-mapping+
Package

orizuru-orm.table

Source

table.lisp (file)

Constant: +standard-class-options+
Package

orizuru-orm.table

Source

table.lisp (file)

Constant: +system-mapping+
Package

orizuru-orm.connect

Source

connect.lisp (file)

Constant: +table-field-splitter+
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Constant: +table-splitter+
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Constant: +trim-op+
Package

orizuru-orm.query-set

Source

query-set.lisp (file)


Next: , Previous: , Up: Internal definitions   [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 (file)

Special Variable: *db*

A map from database names to <database> objects.

Package

orizuru-orm.connect

Source

connect.lisp (file)

Special Variable: *print-indent-spaces*
Package

orizuru-orm.query-set

Source

query-set.lisp (file)


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

6.2.3 Macros

Macro: gen-alias-integer->type NEW-TYPE
Package

orizuru-orm.sql

Source

sql.lisp (file)

Macro: gen-alias-type->integer NEW-TYPE
Package

orizuru-orm.sql

Source

sql.lisp (file)

Macro: gen-test-type &rest TYPES
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Macro: make-qset CHAIN-JOIN PARAM
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Macro: sym->op-case QUERY-AS-SYMBOL CANDIDATE-OP &rest ALLOWED-OPS
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Macro: union-op &body BODY
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Macro: with-clone (CLONED FROM) &body BODY
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Macro: with-increased-indent &body BODY
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

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

orizuru-orm.query-set

Source

query-set.lisp (file)


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

6.2.4 Functions

Function: %print-object OBJECT STREAM
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: %text->number TABLE-NAME COLUMN-NAME VALUE USING-TYPE-DESTINATION
Package

orizuru-orm.sql

Source

sql.lisp (file)

Function: %text->something TABLE-NAME COLUMN-NAME VALUE
Package

orizuru-orm.sql

Source

sql.lisp (file)

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 (file)

Function: all-slots CLASS
Package

orizuru-orm.util

Source

util.lisp (file)

Function: alter-column-type TABLE-NAME COLUMN-NAME TYPE &optional USING-EXPR
Package

orizuru-orm.sql

Source

sql.lisp (file)

Function: any-concrete-superclasses SUPERCLASSES
Package

orizuru-orm.table

Source

table.lisp (file)

Function: append-children PARENT &rest ALL-CHILDREN
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: autoincrement-sql DATABASE-TYPE
Package

orizuru-orm.sql

Source

sql.lisp (file)

Function: children= A B
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: constraint-name TABLE-NAME COLUMN-NAME TYPE

Give constraints Orizuru-Orm-specific names

Package

orizuru-orm.sql

Source

sql.lisp (file)

Function: conversion-column-p DIFF
Package

orizuru-orm.sql

Source

sql.lisp (file)

Function: conversion-column-types DIFF
Package

orizuru-orm.sql

Source

sql.lisp (file)

Function: create-column-constraints TABLE-NAME COLUMN
Package

orizuru-orm.sql

Source

sql.lisp (file)

Function: db-nil-p A
Package

orizuru-orm.inflate-deflate

Source

inflate-deflate.lisp (file)

Function: diff->from-to-params DIFF
Package

orizuru-orm.sql

Source

sql.lisp (file)

Function: diff-slot SLOT-A SLOT-B

Compute the difference between two slot digests. See DIGEST.

Package

orizuru-orm.meta

Source

meta.lisp (file)

Function: digest-slot SLOT
Package

orizuru-orm.meta

Source

meta.lisp (file)

Function: enforce-foreign-keys CONNECTION DATABASE-TYPE
Package

orizuru-orm.connect

Source

connect.lisp (file)

Function: filtered-p-fn A
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: filtered-set= A B
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: filters-only CHILDREN
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: find-child PARENT PREDICATE
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: find-logical-relation QUERY-SET
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

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 (file)

Function: foreign LOCAL FOREIGN-TABLE &optional ON-DELETE ON-UPDATE
Package

orizuru-orm.sql

Source

sql.lisp (file)

Function: get-migration-dir ()
Package

orizuru-orm.migration

Source

migration.lisp (file)

Function: increase-indent-space ()
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: initialize-*db* ()
Package

orizuru-orm.connect

Source

connect.lisp (file)

Function: join-p-fn A
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: joins-only CHILDREN
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: load-driver DRIVER

Load the ASDF system for the specified database module.

Package

orizuru-orm.connect

Source

connect.lisp (file)

Function: logical-assoc-p-fn A
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: logical-ops-only CHILDREN
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: make-query-set-and PARENT
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

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 (file)

Function: make-table-column TABLE COLUMN
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: map-ref-action ACTION
Package

orizuru-orm.sql

Source

sql.lisp (file)

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 (file)

Function: non-recursive-collect-child PARENT PREDICATE
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: print-children QUERY-SET PRINT-FN
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: print-indent-spaces STREAM
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: print-new-line STREAM
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

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 (file)

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 (file)

Function: read-migration-history TABLE-NAME
Package

orizuru-orm.migration

Source

migration.lisp (file)

Function: remap-filter OPERATION LHS RHS
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: remap-ilike COLUMN VAL
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: remove-child QUERY-SET PREDICATE
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

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 (file)

Function: serialize STREAM LIST

Serialize a list of digests.

Package

orizuru-orm.migration

Source

migration.lisp (file)

Function: serialize-plist PLIST
Package

orizuru-orm.migration

Source

migration.lisp (file)

Function: set-all-parents PARENT
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: set-all-parents* PARENT CHILDREN
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: set-index TABLE-NAME COLUMN-NAME VALUE

Toggle INDEX pseudo-constraint.

Package

orizuru-orm.sql

Source

sql.lisp (file)

Function: set-null COLUMN-NAME VALUE

Toggle NULL constraint.

Package

orizuru-orm.sql

Source

sql.lisp (file)

Function: set-primary COLUMN-NAME VALUE

Toggle PRIMARY KEY constraint.

Package

orizuru-orm.sql

Source

sql.lisp (file)

Function: set-proper-quote-character CONNECTION DATABASE-TYPE
Package

orizuru-orm.connect

Source

connect.lisp (file)

Function: set-unique COLUMN-NAME VALUE

Toggle UNIQUE constraint.

Package

orizuru-orm.sql

Source

sql.lisp (file)

Function: signal-error TEXT
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: signal-if-lhs-and-rhs-null LHS RHS
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: sort-slot-list LIST
Package

orizuru-orm.meta

Source

meta.lisp (file)

Function: sym->filter QUERY-AS-SYMBOL VAL
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: sym->filter-fields QUERY-AS-SYMBOL
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: sym->filter-p QUERY-AS-SYMBOL
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: sym->join QUERY-AS-SYMBOL FILTER-DATA
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: sym->join-fields QUERY-AS-SYMBOL
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: sym->join-p QUERY-AS-SYMBOL
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: sym->op QUERY-AS-SYMBOL
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: sym-join-fields-w/explicit-column QUERY-AS-SYMBOL
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: sym-w/explicit-column-p QUERY-AS-SYMBOL
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: sym-w/joins-p QUERY-AS-SYMBOL
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: table-p-fn A
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: tables-only CHILDREN
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: tables-unions-only CHILDREN
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: union-p-fn A
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: unions-only CHILDREN
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Function: use-first-table-available C
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

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 (file)

Function: validate-connection-spec DB DATABASE-TYPE SPEC
Package

orizuru-orm.connect

Source

connect.lisp (file)


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

6.2.5 Generic functions

Generic Function: %clone FROM
Package

orizuru-orm.query-set

Methods
Method: %clone FROM
Source

query-set.lisp (file)

Generic Function: %make-query-set CHILD
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Methods
Method: %make-query-set (CHILD null)
Method: %make-query-set (CHILD symbol)
Generic Function: %table-database OBJECT
Package

orizuru-orm.meta

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

The database this class belongs to.

Source

meta.lisp (file)

Generic Function: children OBJECT
Generic Function: (setf children) NEW-VALUE OBJECT
Package

orizuru-orm.query-set

Methods
Method: children (QUERY-SET query-set)

automatically generated reader method

Source

query-set.lisp (file)

Method: (setf children) NEW-VALUE (QUERY-SET query-set)

automatically generated writer method

Source

query-set.lisp (file)

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 (file)

Generic Function: columns OBJECT
Generic Function: (setf columns) NEW-VALUE OBJECT
Package

orizuru-orm.query-set

Methods
Method: columns (QUERY-SET query-set)

automatically generated reader method

Source

query-set.lisp (file)

Method: (setf columns) NEW-VALUE (QUERY-SET query-set)

automatically generated writer method

Source

query-set.lisp (file)

Generic Function: convert-column-type TABLE-NAME COLUMN-NAME VALUE OLD-TYPE NEW-TYPE
Package

orizuru-orm.sql

Source

sql.lisp (file)

Methods
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql numeric)) (NEW-TYPE (eql double))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql double)) (NEW-TYPE (eql numeric))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql numeric)) (NEW-TYPE (eql smallint))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql smallint)) (NEW-TYPE (eql numeric))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql double)) (NEW-TYPE (eql smallint))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql smallint)) (NEW-TYPE (eql double))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql numeric)) (NEW-TYPE (eql bigint))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql bigint)) (NEW-TYPE (eql numeric))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql double)) (NEW-TYPE (eql bigint))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql bigint)) (NEW-TYPE (eql double))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql smallint)) (NEW-TYPE (eql bigint))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql bigint)) (NEW-TYPE (eql smallint))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql integer)) (NEW-TYPE (eql numeric))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql integer)) (NEW-TYPE (eql double))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql integer)) (NEW-TYPE (eql smallint))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql integer)) (NEW-TYPE (eql bigint))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql numeric)) (NEW-TYPE (eql int))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql int)) (NEW-TYPE (eql numeric))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql double)) (NEW-TYPE (eql int))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql int)) (NEW-TYPE (eql double))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql smallint)) (NEW-TYPE (eql int))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql int)) (NEW-TYPE (eql smallint))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql bigint)) (NEW-TYPE (eql int))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql int)) (NEW-TYPE (eql bigint))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql numeric)) (NEW-TYPE (eql varchar))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql varchar)) (NEW-TYPE (eql numeric))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql double)) (NEW-TYPE (eql varchar))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql varchar)) (NEW-TYPE (eql double))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql smallint)) (NEW-TYPE (eql varchar))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql varchar)) (NEW-TYPE (eql smallint))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql bigint)) (NEW-TYPE (eql varchar))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql varchar)) (NEW-TYPE (eql bigint))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql int)) (NEW-TYPE (eql varchar))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql varchar)) (NEW-TYPE (eql int))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql timestamp)) (NEW-TYPE (eql text))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql text)) (NEW-TYPE (eql timestamp))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql numeric)) (NEW-TYPE (eql text))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql text)) (NEW-TYPE (eql numeric))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql double)) (NEW-TYPE (eql text))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql text)) (NEW-TYPE (eql double))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql smallint)) (NEW-TYPE (eql text))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql text)) (NEW-TYPE (eql smallint))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql bigint)) (NEW-TYPE (eql text))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql text)) (NEW-TYPE (eql bigint))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql int)) (NEW-TYPE (eql text))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql text)) (NEW-TYPE (eql int))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql varchar)) (NEW-TYPE (eql text))
Method: convert-column-type TABLE-NAME COLUMN-NAME VALUE (OLD-TYPE (eql text)) (NEW-TYPE (eql varchar))
Generic Function: database-connection-spec OBJECT
Package

orizuru-orm.connect

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

The connection specification.

Source

connect.lisp (file)

Generic Function: dfs OBJECT FN
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Methods
Method: dfs (OBJECT query-set) FN
Generic Function: join-clause OBJECT
Generic Function: (setf join-clause) NEW-VALUE OBJECT
Package

orizuru-orm.query-set

Methods
Method: join-clause (JOIN-QUERY-SET join-query-set)

automatically generated reader method

Source

query-set.lisp (file)

Method: (setf join-clause) NEW-VALUE (JOIN-QUERY-SET join-query-set)

automatically generated writer method

Source

query-set.lisp (file)

Generic Function: join-type OBJECT
Generic Function: (setf join-type) NEW-VALUE OBJECT
Package

orizuru-orm.query-set

Methods
Method: join-type (JOIN-QUERY-SET join-query-set)

automatically generated reader method

Source

query-set.lisp (file)

Method: (setf join-type) NEW-VALUE (JOIN-QUERY-SET join-query-set)

automatically generated writer method

Source

query-set.lisp (file)

Generic Function: key CONDITION
Package

orizuru-orm.errors

Methods
Method: key (CONDITION configuration-error)
Source

errors.lisp (file)

Generic Function: lhs-column OBJECT
Generic Function: (setf lhs-column) NEW-VALUE OBJECT
Package

orizuru-orm.query-set

Methods
Method: lhs-column (FILTERED-QUERY-SET filtered-query-set)

automatically generated reader method

Source

query-set.lisp (file)

Method: (setf lhs-column) NEW-VALUE (FILTERED-QUERY-SET filtered-query-set)

automatically generated writer method

Source

query-set.lisp (file)

Generic Function: make-connection DATABASE
Package

orizuru-orm.connect

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

connect.lisp (file)

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 (file)

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 (file)

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 (file)

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 (file)

Methods
Method: nadd-union (OBJECT union-query-set) (TABLE table-query-set)
Generic Function: operation OBJECT
Generic Function: (setf operation) NEW-VALUE OBJECT
Package

orizuru-orm.query-set

Methods
Method: operation (FILTERED-QUERY-SET filtered-query-set)

automatically generated reader method

Source

query-set.lisp (file)

Method: (setf operation) NEW-VALUE (FILTERED-QUERY-SET filtered-query-set)

automatically generated writer method

Source

query-set.lisp (file)

Generic Function: operator OBJECT
Generic Function: (setf operator) NEW-VALUE OBJECT
Package

orizuru-orm.query-set

Methods
Method: operator (LOGICAL-ASSOC-QUERY-SET logical-assoc-query-set)

automatically generated reader method

Source

query-set.lisp (file)

Method: (setf operator) NEW-VALUE (LOGICAL-ASSOC-QUERY-SET logical-assoc-query-set)

automatically generated writer method

Source

query-set.lisp (file)

Generic Function: parent OBJECT
Generic Function: (setf parent) NEW-VALUE OBJECT
Package

orizuru-orm.query-set

Methods
Method: parent (QUERY-SET query-set)

automatically generated reader method

Source

query-set.lisp (file)

Method: (setf parent) NEW-VALUE (QUERY-SET query-set)

automatically generated writer method

Source

query-set.lisp (file)

Generic Function: rhs-column OBJECT
Generic Function: (setf rhs-column) NEW-VALUE OBJECT
Package

orizuru-orm.query-set

Methods
Method: rhs-column (FILTERED-QUERY-SET filtered-query-set)

automatically generated reader method

Source

query-set.lisp (file)

Method: (setf rhs-column) NEW-VALUE (FILTERED-QUERY-SET filtered-query-set)

automatically generated writer method

Source

query-set.lisp (file)

Generic Function: slot-tuple OBJ
Package

orizuru-orm.interface

Methods
Method: slot-tuple OBJ
Source

interface.lisp (file)

Generic Function: split-tables-name QUERY
Package

orizuru-orm.query-set

Source

query-set.lisp (file)

Methods
Method: split-tables-name (QUERY symbol)
Method: split-tables-name (QUERY string)
Generic Function: table OBJECT
Generic Function: (setf table) NEW-VALUE OBJECT
Package

orizuru-orm.query-set

Methods
Method: table (TABLE-QUERY-SET table-query-set)

automatically generated reader method

Source

query-set.lisp (file)

Method: (setf table) NEW-VALUE (TABLE-QUERY-SET table-query-set)

automatically generated writer method

Source

query-set.lisp (file)

Generic Function: text CONDITION
Package

orizuru-orm.errors

Methods
Method: text (CONDITION orizuru-orm-error)
Source

errors.lisp (file)


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

6.2.6 Conditions

Condition: orizuru-orm-error ()
Package

orizuru-orm.errors

Source

errors.lisp (file)

Direct superclasses

condition (condition)

Direct subclasses
Direct methods

text (method)

Direct slots
Slot: text
Initargs

:text

Readers

text (generic function)


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

6.2.7 Classes

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

orizuru-orm.meta

Source

meta.lisp (file)

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 (file)

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

orizuru-orm.meta

Source

meta.lisp (file)

Direct superclasses

standard-object (class)

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

:col-type

Readers

col-type (generic function)

Writers

(setf col-type) (generic function)

Slot: col-null-p
Initargs

:col-null-p

Readers

col-null-p (generic function)

Slot: col-unique-p
Initargs

:col-unique-p

Readers

col-unique-p (generic function)

Slot: col-primary-p
Initargs

:col-primary-p

Readers

col-primary-p (generic function)

Slot: col-index-p
Initargs

:col-index-p

Readers

col-index-p (generic function)

Slot: col-foreign
Initargs

:col-foreign

Readers

col-foreign (generic function)

Slot: col-autoincrement-p
Initargs

:col-autoincrement-p

Readers

col-autoincrement-p (generic function)

Slot: col-check
Initargs

:col-check

Readers

col-check (generic function)


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

6.2.8 Types

Type: integer ()
Package

orizuru-orm.types

Source

types.lisp (file)


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

Appendix A Indexes


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

A.1 Concepts

Jump to:   F   L   M   O  
Index Entry  Section

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

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

M
Module, orizuru-orm/src: The orizuru-orm/src module

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

Jump to:   F   L   M   O  

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: Internal generic functions
%clone: Internal generic functions
%make-query-set: Internal generic functions
%make-query-set: Internal generic functions
%make-query-set: Internal generic functions
%print-object: Internal functions
%table-database: Internal generic functions
%table-database: Internal generic functions
%text->number: Internal functions
%text->something: Internal functions

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

-
->sxql: Exported generic functions
->sxql: Exported generic functions
->sxql: Exported generic functions
->sxql: Exported generic functions
->sxql: Exported generic functions
->sxql: Exported generic functions
->sxql: Exported generic functions
->sxql: Exported generic functions
->sxql: Exported generic functions

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

B
begin-transaction: Exported functions
build: Exported functions

C
children: Internal generic functions
children: Internal generic functions
children=: Internal functions
class-mapped: Exported generic functions
class-mapped: Exported generic functions
clean-tuple: Internal generic functions
clean-tuple: Internal generic functions
clone: Exported generic functions
clone: Exported generic functions
clone: Exported generic functions
clone: Exported generic functions
clone: Exported generic functions
clone: Exported generic functions
clone: Exported generic functions
clone: Exported generic functions
col-autoincrement-p: Exported generic functions
col-autoincrement-p: Exported generic functions
col-check: Exported generic functions
col-check: Exported generic functions
col-foreign: Exported generic functions
col-foreign: Exported generic functions
col-index-p: Exported generic functions
col-index-p: Exported generic functions
col-null-p: Exported generic functions
col-null-p: Exported generic functions
col-primary-p: Exported generic functions
col-primary-p: Exported generic functions
col-type: Exported generic functions
col-type: Exported generic functions
col-unique-p: Exported generic functions
col-unique-p: Exported generic functions
columns: Internal generic functions
columns: Internal generic functions
commit: Exported functions
connect: Exported functions
constraint-name: Internal functions
conversion-column-p: Internal functions
conversion-column-types: Internal functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
convert-column-type: Internal generic functions
create: Exported macros
create%: Exported macros
create-and-sort-constraints: Exported functions
create-column-constraints: Internal functions
create-from-plist: Exported macros
create-table: Exported functions

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

E
enforce-foreign-keys: Internal functions
exists: Exported macros

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

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

I
increase-indent-space: Internal functions
inflate: Exported generic functions
inflate: Exported generic functions
inflate: Exported generic functions
inflate: Exported generic functions
inflate: Exported generic functions
inflate: Exported generic functions
inflate: Exported generic functions
inflate: Exported generic functions
inflate: Exported generic functions
inflate: Exported generic functions
inflate: Exported generic functions
initialize-*db*: Internal functions
insert-migration: Exported functions

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

K
key: Internal generic functions
key: Internal generic functions

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

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

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

O
operation: Internal generic functions
operation: Internal generic functions
operator: Internal generic functions
operator: Internal generic functions
orizuru-orm-type->sql: Exported generic functions
orizuru-orm-type->sql: Exported generic functions
orizuru-orm-type->sql: Exported generic functions
orizuru-orm-type->sql: Exported generic functions
orizuru-orm-type->sql: Exported generic functions
orizuru-orm-type->sql: Exported generic functions
orizuru-orm-type->sql: Exported generic functions
orizuru-orm-type->sql: Exported generic functions
orizuru-orm-type->sql: Exported generic functions
orizuru-orm-type->sql: Exported generic functions

P
parent: Internal generic functions
parent: Internal generic functions
plist->object: Exported generic functions
plist->object: Exported generic functions
plist->object: Exported generic functions
plist-keys: Exported functions
print-children: Internal functions
print-indent-spaces: Internal functions
print-new-line: Internal functions
process-slot: Internal functions
push-child: Internal functions

Q
query: Exported macros
query-low-level: Exported functions
query-set=: Exported generic functions
query-set=: Exported generic functions
query-set=: Exported generic functions
query-set=: Exported generic functions
query-set=: Exported generic functions
query-set=: Exported generic functions
query-set=: Exported generic functions

R
read-migration-history: Internal functions
remap-filter: Internal functions
remap-ilike: Internal functions
remove-child: Internal functions
rename-migration-history: Exported functions
rhs-column: Internal generic functions
rhs-column: Internal generic functions
rollback: Exported functions

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

T
table: Internal generic functions
table: Internal generic functions
table-database: Exported generic functions
table-database: Exported generic functions
table-name: Exported generic functions
table-name: Exported generic functions
table-p-fn: Internal functions
tables-only: Internal functions
tables-unions-only: Internal functions
text: Internal generic functions
text: Internal generic functions

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

V
validate-all-databases: Internal functions
validate-connection-spec: Internal functions

W
with-clone: Internal macros
with-increased-indent: Internal macros
with-join-column: Exported macros
with-print-new-line: Internal macros
with-table-package: Exported macros
with-transaction: Exported 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*: Exported special variables
*compile-sxql-tree*: Exported special variables
*config*: Internal special variables
*db*: Internal special variables
*default-db*: Exported special variables
*foreign-slots-class-package*: Exported special variables
*full-select-table-sxql*: Exported special variables
*print-indent-spaces*: Internal special variables
*timestamp-column-uses-timezone-p*: Exported special variables

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

A
abstractp: Exported classes

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

D
database: Exported classes
deferredp: Exported classes

J
join-clause: Exported classes
join-type: Exported classes

K
key: Exported conditions

L
lhs-column: Exported classes

N
name: Exported classes

O
operation: Exported classes
operator: Exported classes

P
parent: Exported classes

R
rhs-column: Exported classes

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

T
table: Exported classes
text: Internal conditions
type: Exported 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   N   O   P   Q   S   T   U   V  
Index Entry  Section

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

B
bigint: Exported types

C
Class, <database>: Exported classes
Class, <table-class>: Exported classes
Class, <table>: Exported classes
Class, filtered-query-set: Exported classes
Class, join-query-set: Exported classes
Class, logical-assoc-query-set: Exported classes
Class, query-set: Exported classes
Class, table-class-direct-slot-definition: Internal classes
Class, table-class-effective-slot-definition: Internal classes
Class, table-class-slot-definition-mixin: Internal classes
Class, table-query-set: Exported classes
Class, union-query-set: Exported classes
Condition, configuration-error: Exported conditions
Condition, empty-table: Exported conditions
Condition, no-configuration-error: Exported conditions
Condition, orizuru-orm-error: Internal conditions
Condition, query-error: Exported conditions
Condition, query-set-error: Exported conditions
Condition, query-set-foreign-reference-error: Exported conditions
configuration-error: Exported conditions

D
datetime: Exported types
double: Exported types

E
empty-table: Exported conditions

F
filtered-query-set: Exported classes

I
int: Exported types
integer: Internal types

J
join-query-set: Exported classes

L
logical-assoc-query-set: Exported classes

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

O
orizuru-orm: The orizuru-orm system
orizuru-orm: The orizuru-orm package
orizuru-orm-error: Internal conditions
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

Q
query-error: Exported conditions
query-set: Exported classes
query-set-error: Exported conditions
query-set-foreign-reference-error: Exported conditions

S
smallint: Exported types
System, orizuru-orm: The orizuru-orm system

T
table-class-direct-slot-definition: Internal classes
table-class-effective-slot-definition: Internal classes
table-class-slot-definition-mixin: Internal classes
table-query-set: Exported classes
text: Exported types
timestamp: Exported types
Type, bigint: Exported types
Type, datetime: Exported types
Type, double: Exported types
Type, int: Exported types
Type, integer: Internal types
Type, numeric: Exported types
Type, smallint: Exported types
Type, text: Exported types
Type, timestamp: Exported types
Type, varchar: Exported types

U
union-query-set: Exported classes

V
varchar: Exported types

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