lessname/database

This package is abandoned and no longer maintained. No replacement package was suggested.

Database wrapper

2.0.2 2020-11-10 13:08 UTC

This package is auto-updated.

Last update: 2021-11-27 13:29:08 UTC


README

The library that proxies PDO so you can easily chain method calls

License

Mozilla Public License 2.0

Key features

method chaining, PDO does a great job at abstracting your database connection. Only a lot of methods return a boolean, this makes it hard to chain methods.

type support, by default PDO sees everything as string. Via LessDatabase scalar's (except for float) are seen ase their PDO types. Array's and objects are casted to json for easier use.