Skip to content
stanistan edited this page Apr 18, 2011 · 1 revision

Parameters:

  • (mixed) - Either a model name (AQL Models), an AQL statement, or an AQL Array (generated by aql2array function)
  • (string) - an Identifier (ID or IDE)

Returns:

  • (array) One data record set. This is aql::select that returns one record.

Example:

$aql = "
           artist { name }
       ";
$rs = aql::profile($aql, 10); // array with 'name' => 'Pink Floyd', artist_id, artist_ide
Clone this wiki locally