On Tue, Sep 01, 2015 at 10:20:43AM +0500, Andrey Khozov wrote:
You can use $results->rows for number of rows ([1]http://mojolicio.us/perldoc/Mojo/Pg/Results#rows) Or $results->arrays->size ([2]http://mojolicio.us/perldoc/Mojo/Collection#size) if you want to load all records to memory.
It's a very large table, that's why I'm getting an rough coutn from pg_class. -- Neil Watson Linux/UNIX Consultant http://watson-wilson.ca -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
