Skip to main content

SCHEMA

Constant SCHEMA 

Source
pub const SCHEMA: ViewMarker;
Expand description

Specifies a table or view schema name.

ยงExamples

#[PostgresView(SCHEMA = "auth")]
struct AuthUsers { ... }

#[PostgresTable(SCHEMA = "auth")]
struct AuthUsersTable { id: i32 }