At 18:00 Uhr +0100 15.01.2004, Erik Natvig wrote:
Why not change mgd_list_topic_articles() completely, and make it return a list (array) of ids that lie under the topic? And it could take parameters making it list only a certain interval of articles. It seems to me that this could be done with all mgd_list... functions.
Erik Natvig
I would prefer an addition of two more arguments to the mgd_list_topic_articles(): First article to return, and number of articles to return, similar to "LIMIT" in SQL. I think this change would be easy and assures the downward compatibility of the function.
Regards, Axel
----- Original Message ----- From: "Piotras" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 15, 2004 2:13 PM Subject: Re: [midgard-user] Re: fetch n-th article from topic
"Ruslan Skripka" <[EMAIL PROTECTED]> wrote:returned
> It seems like I poorly explained my trouble. > Ok, if n = 100000, fetch'n'skip will be very slow. > So, as I understood, there are no way to get n-th article from topic. > It's a pity.
It depends how often You make updates to these articles. And how You want to show returned data. You may use midhoo like class and serializearray for some time.
Piotras
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Axel Gebauer [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
