📄Query Builder

PDOx Documentación y ejemplos

El siguiente material te ofrece una explicación breve sobre los métodos que incluye Pdox, todos los comentarios y métodos están en inglés.

  • select

  • where

  • groupBy

  • insert

  • check

  • insertId

  • getQuery

  • select functions (min, max, sum, avg, count)

  • grouped

  • having

  • update

  • checksum

  • numRows

  • table

  • in

  • orderBy

  • delete

  • optimize

  • error

  • get AND getAll

  • between

  • limit - offset

  • transaction

  • repair

  • cache

  • join

  • like

  • pagination

  • analyze

  • query

  • queryCount

Methods

select

select functions (min, max, sum, avg, count)

table

get AND getAll

join

You can use this method in 7 ways. These;

  • join

  • left_join

  • right_join

  • inner_join

  • full_outer_join

  • left_outer_join

  • right_outer_join

Examples:

where

You can use this method in 4 ways. These;

  • where

  • orWhere

  • notWhere

  • orNotWhere

  • whereNull

  • whereNotNull

Example:

grouped

in

You can use this method in 4 ways. These;

  • in

  • orIn

  • notIn

  • orNotIn

Example:

between

You can use this method in 4 ways. These;

  • between

  • orBetween

  • notBetween

  • orNotBetween

Example:

like

You can use this method in 4 ways. These;

  • like

  • orLike

  • notLike

  • orNotLike

Example:

groupBy

having

orderBy

limit - offset

pagination

insert

update

delete

transaction

analyze

check

checksum

optimize

repair

query

insertId

numRows

error

cache

queryCount

getQuery

Last updated

Was this helpful?