Skip to content

Class

SQLInsertBuilder

Builds SQLInsert queries.
final class SQLInsertBuilder

Overview

Note

Although in the strictest sense, this builder could conform to SQLUnqualifiedColumnListBuilder, doing so would be semantically inappropriate. The protocol documents its columns() methods as being additive, but SQLInsertBuilder’s otherwise-identical public APIs overwrite the effects of any previous invocation. It would ideally be preferable to change SQLInsertBuilder‘s semantics in this regard, but this would be a significant breaking change in the API’s behavior, and must therefore wait for a major version bump.

Topics

Initializers

Instance Properties

  • database
    Connection to execute query on.
  • insert
    The SQLInsert query this builder builds.
  • query
    Query being built.
  • returning
    The specification of what the query should return, if any.
  • tableExpressionGroup
    An optional group of common table expressions to include in the query under construction.

Instance Methods

Relationships

Conforms To

See Also

Query Builders