mihaiblebea/domino

Domino is a basic ORM for PHP using mysql PDO

Installs: 21

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/mihaiblebea/domino

v1.0.9 2018-11-21 22:16 UTC

This package is auto-updated.

Last update: 2025-09-22 13:49:36 UTC


README

Methods:

public function construct()
  • requires Connector class
  • stores the connector into private connector
public function getTable()
  • returns the saved table name to create different schemas
public function setTable()
  • must be set before calling any CRUD method on this class
  • sets the table name
public function connect()
  • returns the connector from the Connector class stored in this class
public function where()
  • accepts a valueA, operand and valueB
  • creates the query schema
public function orWhere()
  • accepts a valueA, operand and valueB
  • if schema is not null, then it adds an 'OR' operation and another secondary schema