pdb
Table of Contents
Packages
- Compat
- Extra
Interfaces
- PdbConditionInterface
- PdbDataBinderInterface
- This defines how values are formatted and bound to queries.
- PdbDataFormatterInterface
- A formatter is much like a `PdbDataBinderInterface` instead these are
registered globally rather than passed through as data objects.
- PdbDataInterface
- An interface for objects that are implicitly formatted before binding.
- PdbDriverInterface
- Methods for a driver to implement.
- PdbModelInterface
- The skeleton structure of a model.
- PdbQueryInterface
- PdbReturnInterface
- Configuration for query return types.
- PdbSchemaInterface
- An object that represents the structure of a database.
- PdbStructWriterInterface
- An interface for writing db_struct components in XML.
Classes
- PdbCache
- PdbDumbCache
- Does nothing.
- PdbRedisCache
- A cache backed by redis.
- PdbStaticCache
- Static cache.
- DatabaseSync
- Database sync.
- CallableFormatter
- Wrap a callable into a formatter.
- ConcatDataBinder
- Wrap an item with a 'concat' modifier.
- DateTimeFormatter
- Format any date time objects.
- JsonLinesBinder
- Wrap a item with a JSON lines 'concat' binding.
- MathBinder
- A data binder for performing math operations on update.
- PdbMysql
- Class for doing database queries via PDO (PDO Database => Pdb)
- PdbPgsql
- Class for doing database queries via PDO (PDO Database => Pdb)
- PdbSqlite
- Class for doing database queries via PDO (PDO Database => Pdb)
- PdbColumn
- A collection is a defined model for an object.
- PdbCompoundCondition
- PdbCondition
- This is a helper for building conditions from the array syntax.
- PdbForeignKey
- A collection is a defined model for an object.
- PdbIndex
- A collection is a defined model for an object.
- PdbParam
- Parameter parser.
- PdbRawCondition
- PdbReturn
- Configuration for query return types.
- PdbSchema
- A schema that comes from the database or a `db_struct.xml` file.
- PdbSimpleCondition
- PdbTable
- A collection is a defined model for an object.
- PdbTransaction
- This represents a transaction or savepoint.
- PdbView
- A collection is a defined model for an object.
- SyncActions
- Functions:
- `'create'` - create table, update table attributes
- `'primary'` - update primary key
- `'column'` - create/modify columns
- `'index'` - update indexes
- `'foreign_key'` - update constraints
- `'remove'` - remove columns
- `'views'` - process views
- SyncFix
- A collection is a defined model for an object.
- SyncQuery
- A collection is a defined model for an object.
- Pdb
- Class for doing database queries via PDO (PDO Database => Pdb)
- PdbConfig
- The configuration for a Pdb object.
- PdbHelpers
- PdbLog
- This is a array format for describing logs from the parser and sync tools.
- PdbModelQuery
- Query elements:
- `select(...$fields)`
- `andSelect(...$fields)`
- `from($table, [$alias])`
- `alias($alias)`
- `leftJoin($table, $conditions, $combine)`
- `innerJoin($table, $conditions, $combine)`
- `where($conditions, $combine)`
- `andWhere($conditions, $combine)`
- `orWhere($conditions, $combine)`
- `with($subQuery, $alias)`
- `union($subQuery)`
- `groupBy($field)`
- `orderBy(...$fields)`
- `limit($limit)`
- `offset($limit)`
- PdbMutex
- PdbQuery
- Query elements:
- `select(...$fields)`
- `andSelect(...$fields)`
- `from($table, [$alias])`
- `alias($alias)`
- `leftJoin($table, $conditions, $combine)`
- `innerJoin($table, $conditions, $combine)`
- `where($conditions, $combine)`
- `andWhere($conditions, $combine)`
- `orWhere($conditions, $combine)`
- `with($subQuery, $alias)`
- `union($subQuery)`
- `groupBy($field)`
- `orderBy(...$fields)`
- `limit($limit)`
- `offset($limit)`
- PdbRawQuery
Traits
- PdbDataFormatterTrait
- This is a default implementation for the `PdbDataFormatterInterface`.
- PdbModelTrait
- This implements basic methods for {@see PdbModelInterface}.