#1388: paginate needs change as SA deprecates SelectResults
------------------------+---------------------------------------------------
 Reporter:  sanjay      |       Owner:  anonymous
     Type:  defect      |      Status:  new      
 Priority:  normal      |   Milestone:  1.0.3    
Component:  TurboGears  |     Version:  1.0.2    
 Severity:  normal      |    Keywords:           
------------------------+---------------------------------------------------
 SqlAlchemy has deprecated SelectResults, and suggests to use normal query
 as it now has all the functionality of SelectResults.

 In TurboGears it has a major impact. The paginate code calculates the
 number of rows as len(list) if the type of recordset is not SelectResults.
 But while using len(list), all the rows are fetched and hence the benefit
 of pagination is lost.

 There are some discussions and suggestions on it here:

 
http://groups.google.co.in/group/turbogears/browse_thread/thread/210588e18f9cd09b
 
http://groups.google.com/group/sqlalchemy/browse_thread/thread/ad6f2f4d1b45d281?hl=en
 (8th message onwards)

-- 
Ticket URL: <http://trac.turbogears.org/ticket/1388>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-tickets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to