query

Hector Query is the query module of Hector ORM. Can be used independently of ORM.

MIT License

Downloads
3.3K
Stars
0
query - v1.0.0-beta11

Published by ElGigi about 1 month ago

Changed

  • Bump hectororm/connection version to 1.0.0-beta7
query - v1.0.0-beta10 Latest Release

Published by ElGigi 4 months ago

Changed

  • INSERT syntax to be conformed to SQL

Removed

  • Assignment component on QueryBuilder class
query - v1.0.0-beta9

Published by ElGigi 7 months ago

Added

  • "Ignore" parameter for inserts to the query builder
query - v1.0.0-beta8

Published by ElGigi 7 months ago

Added

  • Ignore parameter for inserts

Changed

  • The distinct parameter is reset when select is reset
query - v1.0.0-beta7

Published by ElGigi over 1 year ago

Added

  • The distinct parameter can be a closure

Changed

  • Quote aliases in components
query - v1.0.0-beta6

Published by ElGigi about 2 years ago

Added

  • QueryBuilder::insert() accept a statement in assignment

Changed

  • Compatibility with hectororm/connection version 1.0.0-beta6
query - v1.0.0-beta5

Published by ElGigi over 2 years ago

Added

  • Bind parameters in builder and queries objects

Changed

  • QueryBuilder implements StatementInterface
  • Use BinParamList object instead array
query - v1.0.0-beta4

Published by ElGigi over 2 years ago

Fixed

  • Array cast of sub values for binding
  • Count with "having" conditions
  • Count with DISTINCT selection
query - v1.0.0-beta3

Published by ElGigi about 3 years ago

Added

  • New helper methods to build queries: whereNull(), whereNotNull(), havingNull(), havingNotNull()
query - v1.0.0-beta2

Published by ElGigi over 3 years ago

Added

  • New helper methods to build queries: whereContains(), whereStartsWith(), whereEndsWith(), havingContains(), havingStartsWith(), havingEndsWith()

Changed

  • Stop to beautify and indent... SQL queries

Removed

  • @package attributes from PhpDoc

Fixed

  • Count method of query builder with grouped select
query - v1.0.0-beta1

Published by ElGigi over 3 years ago

Initial development.