| |||||||||||||
Reference/es_mba_newSyntaxint es_mba_new( struct es_mbd *def, struct es_mba **res, char *ebuf, int ebufsize ); Arguments
Return Codes
DescriptionConstruct a new aggregator with respect to the database definition In order for a database definition to be valid it must obey the following rule: If more than one class share a common field name, the meaning and type of that field name is assumed and required to be the same. For example, if the definition The reason for this is because if the aggregator is required to join two disparate classes together it needs to be able to identify the key/foreign-key pair of fields. If the foreign key always has the same field name as the key it makes the job easy. Failure to meet this criteria causes es_mba_new() to fail with a | |||||||||||||
Copyright © 2012 by Richard Brooks |