logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • Marcin
    • Posted on Wed 5 May 2004 17:38

    As far as performance goes I would say @GetDocField is a lot faster, as all it would be doing is db.getDocumentByUNID to get the doc handle rather than having to get a view handle, search the view, then get the doc handle. Of course getDocumentByUNID could be slower than the steps required to do the view lookup, but it's unlikely.

    While now not required, another optimisation to the @DbLookup way would have been to have the title as one of the columns in the luArticles view. Returning a view column value is faster than returning a field.

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: