Closed jrschumacher closed 11 years ago
A test failed in php-5.4.
$user = User::one() // here we got NULL from a fresh database ...but why in php-5.3 works. Orz...
Idk... I develop with PHP 5.4 can you try retesting it manually via Travis?
It just failed in Travis , but I think will pass in our develop client. The problem is line 11 of MutatorTest.php . Travis in php 5.4 run this file first , so our User::one() just return a NULL value from database.
@purekid ahh, I see. Makes sense I will make sure to create a setup routine for that at a later time.
Add ability to mutate the data directly (i.e. use
$inc
and other MongoDB operators.) This protects data from loss where find -> mutate -> save would lose any transactions in between requests.This could have serious effects such as: