Skip to content

Instance Creation

Pre-release
Pre-release

Choose a tag to compare

@jnterry jnterry released this 27 Jan 14:04
  • Add createFromRows method
  • Make create() method also persist model to database
  • Add constructor which creates instance without persisting to database (to replace old functionality of create)
  • Ensure id field cannot be manually set - it is changed only when .save() is called on new instance