Overview

Namespaces

  • DSchoenbauer
    • Sql
      • Command
      • Exception
      • Where

Classes

  • Create
  • Delete
  • Select
  • Update

Interfaces

  • CommandInterface

Traits

  • WhereTrait
  • Overview
  • Namespace
  • Class

Interface CommandInterface

A common interface used for SQL commands

Direct known implementers

DSchoenbauer\Sql\Command\Create, DSchoenbauer\Sql\Command\Delete, DSchoenbauer\Sql\Command\Select, DSchoenbauer\Sql\Command\Update
Namespace: DSchoenbauer\Sql\Command
Author: David Schoenbauer dschoenbauer@gmail.com
Located at Sql/Command/CommandInterface.php
Methods summary
public
# getSql( )

A SQL statement that has been formatted per the PDO prepared statement syntax

A SQL statement that has been formatted per the PDO prepared statement syntax

public
# getData( )

a single level array that fulfills the requirements of the SQL statement

a single level array that fulfills the requirements of the SQL statement

public mixed
# execute( PDO $pdo )

this will take the sql and the data and execute them in a manner that makes sense for the command

this will take the sql and the data and execute them in a manner that makes sense for the command

Parameters

$pdo
a PDO connection to a given resource

Returns

mixed
can return what makes most sense for the command
API documentation generated by ApiGen