You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.
var query = new Query(context)
..resultingProperties((e) => [e.id, e.name]);
var employees = await query.fetch();
If I just need some Columns. I can definition Class like the following
Class EmployeeOutPutDto{
String name;
int age;
}
var query = new Query<Employee>(context)
var employees = await query.fetch().tolist();
var result=Mapper<List<EmployeeOutPutDto>>(employees );
return result;
The text was updated successfully, but these errors were encountered:
SinoMiles
changed the title
I think aqueduct need provide object transfer method like AutoMapper
I think aqueduct need provide object transfer method like the AutoMapper
Feb 18, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Fetching Only Some Columns/Properties
var query = new Query(context)
..resultingProperties((e) => [e.id, e.name]);
var employees = await query.fetch();
If I just need some Columns. I can definition Class like the following
The text was updated successfully, but these errors were encountered: