Skip to content

v2.0

Compare
Choose a tag to compare
@mychidarko mychidarko released this 16 Jan 11:57
· 89 commits to next since this release
4595d80

Added

  • Added support for more database types
  • Added support for leaf 3's functional mode
  • Added create method
  • Added drop method
  • Added support for inserting multiple rows
  • Added results method
  • Added aliases for older commands
  • Added find method
  • Added better typing

Fixed

  • orderBy now modifies the query instead of simply appending ORDER BY...
  • limit now modifies the query instead of simply appending LIMIT...
  • first now modifies the query instead of running the query and returning the first entry
  • last now modifies the query instead of running the query and returning the last entry

Changed

  • Switched from mysqli to PDO
  • Restructured leaf db
  • Updated gitignore
  • Moved search wildcards to utils
  • Moved heavy query building to Leaf\Db\Builder class
  • execute no longer takes in the params types
  • where blocks now take in an operator (optional)

Removed

  • Removed validate method
  • Removed leaf db
  • Removed method tracking
  • Removed base where builders