protected final function belongsTo($tableCls, $value_key = '', $foreign_key = '') {
        if (!$tableCls instanceof View) {
            $tableCls = new SimpleTable($tableCls, $this->dbconnection);
        }

        if (!$foreign_key) {
            $foreign_key = $tableCls->primaryKey;
        }

        if (!$value_key) {
            $value_key = $tableCls->foreignKey;
        }

        $sql = $tableCls->select();

        return [$sql, $foreign_key, $value_key, true, 'belongsTo'];
    }