Back to top


This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
documentation:rack:reference:models [2018/05/27 03:01]
Martijn Luinstra [Functions]
documentation:rack:reference:models [2019/05/10 17:57] (current)
Martijn Luinstra [Functions]
Line 41: Line 41:
   * <​php>​get(array $conditions=[],​ array $order=[], $get_first=false)</​php>​   * <​php>​get(array $conditions=[],​ array $order=[], $get_first=false)</​php>​
   * <​php>​get_by_id($id,​ $field='​id'​)</​php>​   * <​php>​get_by_id($id,​ $field='​id'​)</​php>​
-  * <​php>​create(array $values)</​php>​+  * <​php>​create(array $values)</​php> ​Returns inserted ID.
   * <​php>​update(array $data, array $conditions=[])</​php>​ Use with caution!   * <​php>​update(array $data, array $conditions=[])</​php>​ Use with caution!
   * <​php>​update_by_id($id,​ array $data, $field='​id'​)</​php>​   * <​php>​update_by_id($id,​ array $data, $field='​id'​)</​php>​

documentation/rack/reference/models.txt · Last modified: 2019/05/10 17:57 by Martijn Luinstra