Overview

Namespaces

  • Alchemy
    • core
      • query
      • schema
    • dialect
    • engine
    • orm
    • tests
    • util
      • promise
  • PHP

Classes

  • DataMapper
  • DDL
  • ManyToOne
  • OneToMany
  • OneToOne
  • ORMQuery
  • ORMTable
  • ORMTableRef
  • RelatedSet
  • Relationship
  • Session
  • SessionSelect
  • WorkQueue
  • Overview
  • Namespace
  • Class
  • Tree

Namespace Alchemy\orm

Classes summary
DataMapper Abstract base class for custom ORM models. this class doesn't actually store any data, it merely acts as an interface between Domain objects and the Session (which actually owns all of the DB records).
DDL Controller for performing DDL operations on the database
ManyToOne This is the child side of the standard foreign key system
OneToMany Defines a OneToMany relationship. This is the parent side of a standard foreign key system.
OneToOne Base class for defining the relationships between models Subclass this to create separate relationship types like OneToOne, OneToMany, etc.
ORMQuery Represent an object-relationship-aware SQL query
ORMTable Defines a table aware of relationships and other abstractions
ORMTableRef Represents a table reference through a singular relationship
RelatedSet This class is used to manage the set of objects defined by a specific owner object and one of it's relationships.
Relationship Base class for defining the relationships between models Subclass this to create separate relationship types like OneToOne, OneToMany, etc.
Session Acts as a controller between domain objects, the SQL expression language, and the RDBMS Engine layer. Manages queuing of work and transactions
SessionSelect Extension of Monad to allow building a SELECT statement while retaining a reference to the Session you started with
WorkQueue Queue for scheduling queries to be run later, in the proper order
API documentation generated by ApiGen 2.8.0