doc/book/en/D020-api-reference.en.txt
author Sandrine Ribeau <sandrine.ribeau@logilab.fr>
Wed, 22 Apr 2009 21:43:06 -0700
changeset 1440 4fc48f2a1748
parent 306 1ed1da008e50
permissions -rw-r--r--
[doc] Typos and minor changes.

.. -*- 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://www.cubicweb.org/doc/en/modindex.html>`_

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

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

See `yams' API <http://www.cubicweb.org/doc/en/modindex.html>`_

Views API
---------

See `yams' API <http://www.cubicweb.org/doc/en/modindex.html>`_
[WRITE ME]