ActionScheduler_DBStore::get_query_actions_sql( array $query, string $select_or_count = 'select' )
Returns the SQL statement to query (or count) actions.
Description Description
Parameters Parameters
- $query
-
(Required) Filtering options.
- $select_or_count
-
(Optional) Whether the SQL should select and return the IDs or just the row count.
Default value: 'select'
Return Return
(string) SQL statement already properly escaped.
Source Source
File: packages/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php