conditionally create the functions to fetch the cursor results ( server-side )