Overview

Namespaces

  • Alchemy
    • core
      • query
      • schema
    • dialect
    • engine
    • orm
    • tests
    • util
      • promise
  • PHP

Classes

  • ColumnRef
  • DDLQuery
  • Expression
  • Insert
  • Join
  • Predicate
  • Query
  • Scalar
  • TableRef

Interfaces

  • IQuery
  • IQueryFragment
  • IQueryValue
  • Overview
  • Namespace
  • Class
  • Tree

Class Insert

Represent an INSERT statement

Alchemy\core\Element implements Alchemy\core\IElement
Extended by Alchemy\core\query\Query implements Alchemy\core\query\IQuery
Extended by Alchemy\core\query\Insert
Namespace: Alchemy\core\query
Located at alchemy/core/query/Insert.php
Methods summary
public
# row( )

Add a row to insert. Each parameter corresponds to a column set with Alchemy\core\query\Query::columns(). Optionally Send all columns as a single array.

Add a row to insert. Each parameter corresponds to a column set with Alchemy\core\query\Query::columns(). Optionally Send all columns as a single array.

public array
# rows( )

Get the rows to insert

Get the rows to insert

Returns

array
public array
# parameters( )

Recursively get all scalar parameters used by this expression

Recursively get all scalar parameters used by this expression

Returns

array
array(Scalar, Scalar, ...)

Overrides

Alchemy\core\query\Query::parameters()
Methods inherited from Alchemy\core\query\Query
__construct(), __set(), columns(), join(), joins(), limit(), offset(), outerJoin(), table(), where()
Methods inherited from Alchemy\core\Element
__callStatic(), __clone(), addTag(), addTags(), copy(), define(), define_alias(), getDescription(), getID(), getTag(), getType(), get_definition(), listTags(), normalize_arg()
Properties summary
protected array $rows array()
#
Properties inherited from Alchemy\core\query\Query
$columns, $joins, $limit, $offset, $table, $where
Properties inherited from Alchemy\core\Element
$id, $tags, $type
API documentation generated by ApiGen 2.8.0