Input
let config = FormatOptions {
uppercase: Some(true),
};
create table if not exists users (
id serial primary key,
name varchar(255) not null
)
Output
CREATE TABLE
IF NOT EXISTS users (
id serial PRIMARY KEY,
name varchar(255) NOT NULL
);
The inverse is also true. Providing mixed or upper-cased column types with uppercase: Some(false) leaves the column types as is.
Input
Output
CREATE TABLE IF NOT EXISTS users ( id serial PRIMARY KEY, name varchar(255) NOT NULL );The inverse is also true. Providing mixed or upper-cased column types with
uppercase: Some(false)leaves the column types as is.