MeekroDB Quick Start Docs ORM Docs FAQ
Download GitHub

MeekroORM Documentation

This is the documentation for MeekroORM, a new addition to MeekroDB. If you're looking for the classic MeekroDB documentation, go here.

  1. Introduction to ORMs
  2. Loading and Searching
    1. Load()
    2. Search()
    3. SearchMany()
  3. Saving, Updating, and Deleting
    1. Save()
    2. Update()
    3. Destroy()
    4. Reload()
  4. Marshalling and Data Types
    1. static::$_columns
  5. Data Validation and Callbacks
    1. $_use_transactions
    2. _pre_save() / _post_save()
    3. _pre_create() / _post_create()
    4. _pre_update() / _post_update()
    5. _post_commit()
    6. _validate_[field]()
    7. _pre_destroy() / _post_destroy()
  6. Related Tables and Associations
    1. static::$_associations
  7. Scopes
    1. static::_scopes()
  8. Misc Methods
    1. static::$_tablename
    2. static::_meekrodb()
    3. toHash()
    4. toRawHash()
    5. dirtyHash()
    6. dirtyFields()
    7. has()
    8. set()
    9. get()
    10. getraw()
    11. setraw()
    12. isFresh()
    13. lock()