Menu

Find and Retrieve

2004-11-04
2013-03-07
  • André Ribeiro

    André Ribeiro - 2004-11-04

    Hi,

    What's the diference between the find and the retrieve methods?

    Thank you,
    Andr Ribeiro

     
    • Richard Banks

      Richard Banks - 2004-11-05

      Retrieve gets objects using attributes marked as primary keys.

      eg <attribute name="a1" col="x" key="primary" />

      Find gets objects using attributes marked as find attributes.

      eg <attribute name="a2" col="y" find="true" />

      This way you can have a primary key abstraction via GUIDs or OIDs, yet still provide a "user-friendly" method for getting objects (without needing to remember the GUID values).

      -Richard

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.