Releases: NitroXy/BasicObject
Releases · NitroXy/BasicObject
v.1.4.2
v.1.4.1
v1.4
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 runINSERT INTO
orUPDATE
). - Support passing extra fields to update_attributes:
BasicObject::update_attributes
gained a new optionextra_fields
which can be used when fields are overridden in__set
.