...
createData will add an objectid if it is missing and it is the primary key for the schema. However all other uses of these functions require the primary key values to be provided, either in the stProperties struct or as an argument.
Code Block |
---|
|
<cfset db.createData(typename,stProperties,dsn) /> |
Code Block |
---|
|
<cfset db.setData(typename,stProperties,dsn) /> |
Code Block |
---|
|
<cfset db.getData(typename,*objectid,*bDepth,*fields,dsn) /> |
Info |
---|
|
- ObjectID ... or whatever the primary key is for the schema. Get can be used for simple array properties by specifying parentid and seq
- bDepth (defaults to 1)
0: Everything (with full structs for all array field elements) 1: Everything (only extended array field as structs) 2: No array fields 3: No array or longchar fields - fields - Overrides the default fields returned. NOTE: the bDepth field may restrict the list further.
|
Code Block |
---|
|
<cfset db.deleteData(typename,*objectid,dsn) /> |
...