PHP Doku:: Construct a new query - tokyotyrantquery.__construct.html

Verlauf / Chronik / History: (5) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzDatenbankerweiterungenAnbieterspezifische Datenbankerweiterungentokyo_tyrantThe TokyoTyrantQuery classTokyoTyrantQuery::__construct

Ein Service von Reinhard Neidl - Webprogrammierung.

The TokyoTyrantQuery class

<<TokyoTyrantQuery::addCond

TokyoTyrantQuery::count>>

TokyoTyrantQuery::__construct

(PECL tokyo_tyrant >= 0.1.0)

TokyoTyrantQuery::__constructConstruct a new query

Beschreibung

TokyoTyrantQuery::__construct ( TokyoTyrantTable $table )

Construct a new query object

Parameter-Liste

table

TokyoTyrantTable object with active database connection

Rückgabewerte

Returns a new TokyoTyrantQuery object and throws TokyoTyrantException on error

Beispiele

Beispiel #1 TokyoTyrantQuery::__construct() example

<?php
$tt 
= new TokyoTyrantTable("localhost"1979);

$query = new TokyoTyrantQuery($tt);

/* Work with $query */
?>

Siehe auch


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)