feat: also return with relationship (reduce fetch)

This commit is contained in:
Methapon2001 2024-03-28 11:08:40 +07:00
parent 41cce9761a
commit d79d91c6b5

View file

@ -75,13 +75,19 @@ export class ProfileAddressController extends Controller {
select: [ select: [
"registrationAddress", "registrationAddress",
"registrationProvinceId", "registrationProvinceId",
"registrationProvince",
"registrationDistrictId", "registrationDistrictId",
"registrationDistrict",
"registrationSubDistrictId", "registrationSubDistrictId",
"registrationSubDistrict",
"registrationZipCode", "registrationZipCode",
"currentAddress", "currentAddress",
"currentProvinceId", "currentProvinceId",
"currentProvince",
"currentDistrictId", "currentDistrictId",
"currentDistrict",
"currentSubDistrictId", "currentSubDistrictId",
"currentSubDistrict",
"currentZipCode", "currentZipCode",
"createdFullName", "createdFullName",
"createdAt", "createdAt",