Instance Method
detach(_:on:)
Detach a single model by deleting the pivot.
func detach(_ to: To, on database: any Database) -> EventLoopFuture<Void>
Parameters
toThe model to detach from this model.
databaseThe database to perform the attachment on.