|  | Home · Overviews · Examples |

# QSqlRelation Class Reference
[com.trolltech.qt.sql module]

The `QSqlRelation` class stores information about an SQL foreign key. More...

## Detailed Description

The `QSqlRelation` class stores information about an SQL foreign key.

`QSqlRelation` is a helper class for `QSqlRelationalTableModel`. See QSqlRelationalTableModel::setRelation() and QSqlRelationalTableModel::relation() for details.

See also `QSqlRelationalTableModel`, `QSqlRelationalDelegate`, and Relational Table Model Example.