PHP static method
Tobject::accelerate
Description
Load data for a number of statement types for all instances of a topic type into memory so that database access is omitted.
Comments
This method is superfluous when the store uses dobjects, an in memory representation of all data on a topic. In consequence it does nothing when dobjects are in use.
Examples
[%// Load date and location of birth into memory for all instances of person
Tobject::accelerate("person", "date-of-birth", "location-of-birth");
// Load all issues and the date of all invoices into memory:
Tobject::accelerate("invoice", "issue", "date");
// Load time-spent for all issues into memory:
Tobject::accelerate("issue", "time-spent");
// For role types with are used with more than one association type:
Tobject::accelerate("movie", "author,screenplay", "author,book");
%]
|
Parameters2
Coding name |
tt
|
Description |
A serialization name of a topic type.
|
Position |
1
|
Type |
String(Primitive type)
|
Coding name |
st
|
Position |
2
|
Type |
String(Primitive type)
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.