ReOrder result set, Save a trip to DB/Srv

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • awebguynow

    #1

    ReOrder result set, Save a trip to DB/Srv

    I've been using Pear::DB


    I don't know what the best sorting options are; Sure you could
    re-query the DB ('order by').

    I suppose you could place the $RS in a multi-dim array (in Session) and
    re-sort that.

    If you could do it all on the client side, that would be impressive
    too. Here's 1 model:


    pretty nifty, although I see there are assumptions for date formats
    that aren't consistent with standard MySQL dates: yyyy-mm-dd

    Before I reinvent the wheel, has anyone done resorting or is there an
    easy way ?

  • awebguynow

    #2
    Re: ReOrder result set, Save a trip to DB/Srv

    I also envision a Filtering system, to further query and refine the
    data (returning a subset), without re-executing a query against the DB.

    Comment

    Working...