wwUtils::CursorToCollection

Easily creates a Collection from a FoxPro cursor. Creates either a FoxPro Collection or a wwCollection instance.

o.CursorToCollection(lcAlias,lnMode)

Parameters

lcAlias
Optional - The alias to convert. If not passed active alias is used

lnMode
Optional - 0* - Collection, 2 - wwCollection

Remarks

Web Connection internally uses wwCollection frequently and it offers more control and faster collection parsing. wwJsonSerializer also knows how to serialize wwCollection instances, but not FoxPro collections.

See also:

Class wwUtils | Class wwCollection | wwUtils::CollectionToCursor

© West Wind Technologies, 2004-2017 • Updated: 09/17/14
Comment or report problem with topic