You are here

function drush_computing_list in Drupal Computing 7

File

./computing.drush.inc, line 160
Drupal Hybrid Computing drush interface. To use this, please install Drush at http://drupal.org/project/drush

Code

function drush_computing_list() {

  // FIXME: not working yet.
  $sql = drush_get_option('all', NULL) ? 'SELECT * FROM {computing_record};' : 'SELECT id, app, command, description, created FROM {computing_record} WHERE status IS NULL;';
  $result = drush_invoke_process('@self', 'sql-query', array(
    $sql,
  ), array(
    '--db-prefix',
  ));

  //$result = drush_dispatch('sql-query', array($sql, '--db-prefix'));

  //drush_print_r(drush_backend_get_result());
}