Need to get single data from relationship in table with where clause

return $table
->columns([
TextColumn::make('name')->sortable(),
TextColumn::make('addresses.title')->label('Address')->sortable(),
]);
I want to pull out one address where order is 1 in address table. Please let me know, How can I pass in above structure?
Was this page helpful?