QueryTableExtensions<T extends Table, D> 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

Methods

whereSamePrimaryKey(Insertable<D> d) → void

Available on SingleTableQueryMixin<T, D>, provided by the QueryTableExtensions extension

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