nitroxy/basic-object

Yet anoyther object relational mapper

v1.4.2 2023-11-11 09:05 UTC

This package is auto-updated.

Last update: 2024-05-11 18:28:48 UTC


README

Packagist Build Status

Yet anoyther object relational mapper.

Installation

$ composer require nitroxy/basic-object

Performance hint:

This object relational mapper makes heavy use of information_schema in mysql, per default queries to this schema triggers recalculation of statistics every time it is queried which slows things down a lot. Try turning innodb_stats_on_metadata of to stop mysql doing this.

set global innodb_stats_on_metadata=0;

There are forks of this project solving this with a memcached instance caching the schema information instead.

Tests

Run tests before you do a pull requests, and add tests for new features.

See tests/README.md

Dependencies (Only for running tests)