4D v17.4

ds

Home

 
4D v17.4
ds

ds 


 

ds -> Result 
Parameter Type   Description
Result  DataStore in New datastore reference object

The ds command returns a new reference to the datastore matching the current 4D database.

Note: Using ds requires that your database is compliant with ORDA, as specified in the ORDA prerequisites section.

This datastore is opened automatically and available directly through ds. The following rules are applied:

  • A datastore only references tables with a single primary key. Tables without a primary key or with composite primary keys are not referenced.
  • BLOB type attributes are not managed in the datastore.

For more information about datastore implementation, please refer to the Datastore section.

Example  

Using the main datastore on the 4D database:

 $result:=ds.Employee.query("firstName = :1";"S@")

 
PROPERTIES 

Product: 4D
Theme: ORDA - DataStore
Number: 1482

 
HISTORY 

New
Created: 4D v17

 
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)