public class Test {
public static void testQuery(Integer queryLimit)
{
List<Account> acc = [SELECT Id, Name FROM Account LIMIT : queryryLimit];
System.debug('Account list is ::::'+acc);
}
}
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards, Deepali Kulshrestha www.kdeepali.com
Please check below code:
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks and Regards,
Deepali Kulshrestha
www.kdeepali.com