I have been using sqlite-net-pcl nuget for my MAUI project. I want to get the return type as list of objects. I didn’t know what type the result is. Is there a way to get this done by using this same nuget in MAUI?
I Have tried,
public async Task<List<object>> GetParamList()
{
try
{
string sqlquery = "select AValue,Bvalue from TableName";
return await Database.QueryAsync<object>(sqlquery);
}
catch (Exception ex)
{
return null;
}
}
From this code i got this error Value cannot be null (parameter 'type')