Documentation

OrderColumn
in package

A column to order by.

Tags
link
https://postgrest.org/en/stable/references/api/tables_views.html#ordering

Table of Contents

Properties

$direction  : OrderDirection
$name  : string
$orderNulls  : OrderNulls

Methods

__construct()  : mixed
Create a new order column.

Properties

Methods

__construct()

Create a new order column.

public __construct(string $name[, OrderDirection $direction = OrderDirection::ASC ][, OrderNulls $orderNulls = OrderNulls::NONE ]) : mixed
Parameters
$name : string

The name of the column.

$direction : OrderDirection = OrderDirection::ASC

The direction to order by.

$orderNulls : OrderNulls = OrderNulls::NONE

The null order type to use.


        
On this page

Search results