SQT
A C++ ORM framework for SQLite
Loading...
Searching...
No Matches

◆ GetDefaultValueSQLLiteral()

virtual std::optional< std::string > sqt::AbstractColumn::GetDefaultValueSQLLiteral ( ) const
virtual

Gets the default value of the column as an SQL literal, if it has one.

Returns
A SQL literal string if the column has default value; otherwise std::nullopt.