createRelationship method

Future<TableRelationshipResponse> createRelationship({
  1. required String tableId,
  2. required TableIdRelationshipRequest request,
  3. String? authorization,
  4. String? userAgent,
})

Create a relationship

Creates a relationship in a table as well as lookup/summary fields. Relationships can only be created for tables within the same app.

Implementation

Future<TableRelationshipResponse> createRelationship({
  required String tableId, required TableIdRelationshipRequest request,
  String? authorization, String? userAgent }) async {
  return _tablesService.createRelationship(tableId: tableId, request: request, authorization: authorization, userAgent: userAgent);
}