const primaryConstraint = introspectionResultsByKind.constraint.find(attr =>
            attr.classId === table.id && attr.type === 'p',
          );