(No version information available, might only be in Git)
TableSelect::execute — Executa instrução de seleção
Executa a instrução de seleção encadeando-a com o método execute().
Esta função não possui parâmetros.
Um objeto RowResult.
Exemplo #1 Exemplo de mysql_xdevapi\TableSelect::execute()
<?php
$session = mysql_xdevapi\getSession("mysqlx://user:password@localhost");
$schema = $session->getSchema("addressbook");
$table  = $schema->getTable("names");
$result = $table->select('name','age')
  ->where('name like :name and age > :age')
  ->bind(['name' => 'John', 'age' => 42])
  ->orderBy('age desc')
  ->execute();
$row = $result->fetchAll();
?>O exemplo acima produzirá algo semelhante a:
Array
(
    [0] => Array
        (
            [name] => John
            [age] => 42
        )
)
