4D v17.4

dataClass.all( )

Home

 
4D v17.4
dataClass.all( )

dataClass.all( )  


 

The dataClass.all( ) method queries the datastore to find all the entities related to the dataclass and returns them as an entity selection.

The entities are returned in the default order, which is intially the order in which they were created. Note however that, if entities have been deleted and new ones added, the default order does not reflect the creation order anymore.

If no corresponding entity is found, an empty entity selection is returned.

Lazy loading is applied.

Example  

 C_OBJECT($allEmp)
 $allEmp:=ds.Employee.all()



See also 

dataClass.query( )

 
PROPERTIES 

Product: 4D
Theme: ORDA - DataClass

 
PAGE CONTENTS 
 
HISTORY 

 
ARTICLE USAGE

4D Language Reference ( 4D v17)
4D Language Reference ( 4D v17.1)
4D Language Reference ( 4D v17.2)
4D Language Reference ( 4D v17.3)
4D Language Reference ( 4D v17.4)