ODBC Driver for WordPress

Build 26.0.9770

SiteTopAuthors

Query the SiteTopAuthors in Wordpress.

Table Specific Information

SELECT

The driver uses the WordPress API to process some of the filters.

  • Date supports the '=' comparison.
  • Period supports the '=' comparison.
  • HasSummarize supports the '=' comparison.
  • NumofPeriods supports the '=' comparison.

The driver processes other filters client-side within the driver.

For example, the following queries are processed server side.

SELECT * FROM SiteTopAuthors WHERE Date='2025-05-08' AND Period='day'

Columns

Name Type References Description
Date Date The most recent date for which author statistics are available.
DaysAggregate String A collection of daily author view data, showing how many views each author received per day (omitted when summarize=true).
SummaryAggregate String A summary of total author views aggregated over the selected period (omitted when summarize=false).
Period String The time interval represented by the statistics, such as day, week, or month.

The allowed values are day, month, week, year.

Pseudocolumns

Pseudocolumn fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.

Name Type Description
HasSummarize Boolean Indicates whether the SiteTopAuthors results include summarized data.
NumofPeriods Int The number of reporting periods included in the results.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9770