Skip to content
It's Vapor Week! Celebrating 10 Years of Vapor Read more

Type Method

default(_:)

Equivalent to .default(SQLLiteral.boolean(value)).
static func `default`(_ value: Bool) -> SQLColumnConstraintAlgorithm