Skip to content

atlasphp/Atlas.Pdo

2.x
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Atlas.Pdo

This package provides a Connection that decorates any [PDO] (http://php.net/PDO) instance to provide the following:

  • A perform() that method acts just like query(), but binds values to a prepared statement as part of the call.

  • Several fetch*() methods to return results in commonly-occurring situations.

  • Several yield*() methods as fetch*() equivalents to yield results instead of returning them.

  • Query logging, including backtraces to find where queries were issued.

This package also provides a ConnectionLocator to register, instantiate, and retain named Connection objects for default, read (slave), and write (master) databases.

Read the documentation here.

About

Provides Connection and ConnectionLocator functionality.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages