Skip to content

v1.4

Choose a tag to compare

@ext ext released this 22 Dec 16:56
· 4 commits to master since this release

Additions

  • Allow fully custom query: the user can now specify a custom query as long as it generates the necessary fields.
  • Expose exists: BasicObject::exists() returns a boolean indicating if this instance refers to an existing row or not (i.e. tell if it will run INSERT INTO or UPDATE).
  • Support passing extra fields to update_attributes: BasicObject::update_attributes gained a new option extra_fields which can be used when fields are overridden in __set.