doc/book/en/D020-api-reference.en.txt
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Sat, 22 Nov 2008 23:59:42 +0100
changeset 127 ae611743f5c6
parent 113 doc/book/en/12-00-reference.en.txt@1091d8d63f51
child 306 1ed1da008e50
permissions -rw-r--r--
[doc] divided book in parts

.. -*- coding: utf-8 -*-

API Reference
=============

Schema API
----------

Base Types
~~~~~~~~~~

Base types are defined as a set in yams.BASE_TYPES that includes:
`String`, `Int`, `Float`, `Boolean`, `Date`, `Time`, `Datetime`,
`Interval`, `Password`, `Bytes`.

See `yams' API <http://lax.logilab.org/apidoc>`_

Constraints
~~~~~~~~~~~

Constraints are defined in yams.constraints and include:
`UniqueConstraint`, `SizeConstraint`, `RegexpConstraint`,
`BoundConstraint`, `IntervalBoundConstraint`,
`StaticVocabularyConstraint`, `MultipleStaticVocabularyConstraint`.

See `yams' API <http://lax.logilab.org/apidoc>`_

Views API
---------

See `yams' API <http://lax.logilab.org/apidoc>`_
[WRITE ME]