You are here

function computing_query_active_records in Drupal Computing 7

Query active records. Record is active when status is NULL. This is different from control='REDY', which means the record is ready to be processed.

'input' and 'output' fields are un-encoded byte strings. Callers are responsible for further process.

Parameters

$app:

Return value

array

File

./computing.module, line 130

Code

function computing_query_active_records($app) {
  $result = _computing_query_records(array(
    'app' => $app,
    'status' => NULL,
  ));
  $records = array();
  foreach ($result as $r) {
    $records[] = $r;
  }
  return $records;
}