IronQuery
A SQL-first query builder for C++
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
iron_query::Collation Class Referencefinal

A collation name for use with Expr::Collate. More...

#include <collation.hpp>

Public Member Functions

std::string ToString () const
 Renders the collation name as SQL text.
 

Static Public Member Functions

static Collation FromRaw (std::string name)
 Wraps a trusted, developer-written collation name verbatim. Never pass untrusted/dynamic data here.
 
static Collation Default ()
 The database's default collation.
 
static Collation C ()
 The C collation: byte-order comparison.
 
static Collation Posix ()
 The POSIX collation, identical to C on PostgreSQL.
 

Detailed Description

A collation name for use with Expr::Collate.

See also
https://www.postgresql.org/docs/current/collation.html

Member Function Documentation

◆ FromRaw()

static Collation iron_query::Collation::FromRaw ( std::string  name)
static

Wraps a trusted, developer-written collation name verbatim. Never pass untrusted/dynamic data here.

Note
Does not check that name is a real collation known to the database.

The documentation for this class was generated from the following file: