You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, with latest version, after calling save() method, F3 wont auto-hydrate the object.
Example:
i have a table with id primary key, foreach($data as $key => $value) $this->set($key, $value); $this->save(); echo $this->id;
with 3.6.x it return current id if update or new id if insert.
With 3.7.x it return null or empty
The text was updated successfully, but these errors were encountered:
I found out that when you set id = 0, it'll cause the mapper to not reload since 3.7.1.. if that's a bug or not will be discussed in bcosca/fatfree#1175 .. as quick workaround for you: dont set id to 0... doesnt make sense anyways. thank you
Hi, with latest version, after calling save() method, F3 wont auto-hydrate the object.
Example:
i have a table with id primary key,
foreach($data as $key => $value) $this->set($key, $value); $this->save(); echo $this->id;
with 3.6.x it return current id if update or new id if insert.
With 3.7.x it return null or empty
The text was updated successfully, but these errors were encountered: