File: |
tests/ActiveRecordTest.php |
Role: |
Class source |
Content type: |
text/plain |
Description: |
Class source |
Class: |
Simple Active Record
Store and fetch data with Active Records pattern |
Author: |
By Lars Moelleken |
Last change: |
[+]: add new "whereEscape()" method
-> use db->escape()
[+]: update vendor libs
[+]: use "CollectionActiveRecord::createFromGeneratorFunction()"
[+]: add "fetchOneByQueryOrThrowException()"
-> + check if "fetchOneByQuery()" will only fetch one entry, otherwise we will throw a exception
[+]: yield all the things :)
[+]: use collections for the results
[+]: add a simple "addRelation()" method + use "hashids/hashids"
[+]: move from "Simple MySQLi" into this repository
|
Date: |
Yesterday |
Size: |
20,675 bytes |
|
|
|