Skip to main content

public_stats

Creates, updates, deletes, gets or lists a public_stats resource.

Overview​

Namepublic_stats
TypeResource
Idrailway.platform.public_stats

Fields​

The following fields are returned by SELECT queries:

One PublicStats row.

NameDatatypeDescription
total_deployments_last_monthinteger
total_logs_last_monthstring
total_projectsinteger
total_requests_last_monthstring
total_servicesinteger
total_usersinteger

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGet public Railway stats. Backed by the Railway GraphQL query publicStats.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription

SELECT examples​

Get public Railway stats. Backed by the Railway GraphQL query publicStats.

SELECT
total_deployments_last_month,
total_logs_last_month,
total_projects,
total_requests_last_month,
total_services,
total_users
FROM railway.platform.public_stats
;