| 
    JULEA
    
   | 
 
#include <jdb-internal.h>
Data Fields | |
| bson_t | selection | 
| bson_t | joins | 
| The selector encoded as BSON. Joins and tables are managed separately.   | |
| bson_t | final | 
| The joins encoded as BSON.   | |
| gboolean | final_valid | 
| JDBSelectorMode | mode | 
| TRUE iff final got built and the selector was not modified.   | |
| JDBSchema * | schema | 
| GHashTable * | join_schema | 
| Primary schema. This one must be used for joins.   | |
| guint | selection_count | 
| Stores the names of joined schemas. It is used as a set and all values are NULL.   | |
| gint | ref_count | 
| The number of selecotr entries must not exceed 500.   | |
Represents selections in, possibly joined, schemas.
For details on the BSON documents see doc/db-code.md. 
| bson_t JDBSelector::final | 
The joins encoded as BSON.
The complete query as BSON.
Gets build (and rebuild if necessary) when the selector is used.
| gboolean JDBSelector::final_valid | 
| GHashTable* JDBSelector::join_schema | 
Primary schema. This one must be used for joins.
| bson_t JDBSelector::joins | 
The selector encoded as BSON. Joins and tables are managed separately.
| JDBSelectorMode JDBSelector::mode | 
TRUE iff final got built and the selector was not modified.
| gint JDBSelector::ref_count | 
The number of selecotr entries must not exceed 500.
| JDBSchema* JDBSelector::schema | 
| bson_t JDBSelector::selection | 
| guint JDBSelector::selection_count | 
Stores the names of joined schemas. It is used as a set and all values are NULL.