QueryTableExtensions<Row extends Object, RS extends GeneratedTable<Row, RS>, Self extends SingleTableStatementMixin<Row, RS, Self>> extension

Extension for statements on a table.

This adds the whereSamePrimaryKey method as an extension. The query could run on a view, for which whereSamePrimaryKey is not defined.

on
  • SingleTableStatementMixin<Row, RS, Self>

Methods

whereSamePrimaryKey(Insertable<Row> d) → Self

Available on SingleTableStatementMixin<Row, RS, Self>, provided by the QueryTableExtensions extension

Applies a where statement so that the row with the same primary key as d will be matched.