sbLocalDatabaseQuery.cpp File Reference
#include "sbLocalDatabaseQuery.h"
#include "sbLocalDatabaseSchemaInfo.h"
#include <sbIDatabaseQuery.h>
#include <sbIDatabaseResult.h>
#include <sbILocalDatabasePropertyCache.h>
#include <sbISQLBuilder.h>
#include <nsComponentManagerUtils.h>
#include <sbStandardProperties.h>
#include <sbSQLBuilderCID.h>
#include <sbStringUtils.h>
Include dependency graph for sbLocalDatabaseQuery.cpp:

Go to the source code of this file.

Macros

#define COUNT_COLUMN   NS_LITERAL_STRING("count(1)")
 
#define CREATED_COLUMN   NS_LITERAL_STRING("created")
 
#define GUID_COLUMN   NS_LITERAL_STRING("guid")
 
#define OBJ_COLUMN   NS_LITERAL_STRING("obj")
 
#define OBJSORTABLE_COLUMN   NS_LITERAL_STRING("obj_sortable")
 
#define OBJSECONDARYSORTABLE_COLUMN   NS_LITERAL_STRING("obj_secondary_sortable")
 
#define MEDIAITEMID_COLUMN   NS_LITERAL_STRING("media_item_id")
 
#define PROPERTYID_COLUMN   NS_LITERAL_STRING("property_id")
 
#define ORDINAL_COLUMN   NS_LITERAL_STRING("ordinal")
 
#define PROPERTYNAME_COLUMN   NS_LITERAL_STRING("property_name")
 
#define MEDIALISTYPEID_COLUMN   NS_LITERAL_STRING("media_list_type_id")
 
#define ISLIST_COLUMN   NS_LITERAL_STRING("is_list")
 
#define ROWID_COLUMN   NS_LITERAL_STRING("rowid")
 
#define PROPERTIES_TABLE   NS_LITERAL_STRING("resource_properties")
 
#define PROPERTIES_FTS_TABLE   NS_LITERAL_STRING("resource_properties_fts")
 
#define PROPERTIES_FTS_ALL_TABLE   NS_LITERAL_STRING("resource_properties_fts_all")
 
#define MEDIAITEMS_TABLE   NS_LITERAL_STRING("media_items")
 
#define SIMPLEMEDIALISTS_TABLE   NS_LITERAL_STRING("simple_media_lists")
 
#define PROPERTYIDS_TABLE   NS_LITERAL_STRING("properties")
 
#define MEDIAITEMS_ALIAS   NS_LITERAL_STRING("_mi")
 
#define CONSTRAINT_ALIAS   NS_LITERAL_STRING("_con")
 
#define GETNOTNULL_ALIAS   NS_LITERAL_STRING("_getnotnull")
 
#define GETNULL_ALIAS   NS_LITERAL_STRING("_getnull")
 
#define SORT_ALIAS   NS_LITERAL_STRING("_sort")
 
#define DISTINCT_ALIAS   NS_LITERAL_STRING("_d")
 
#define CONPROP_ALIAS   NS_LITERAL_STRING("_conprop")
 
#define ORDINAL_PROPERTY   NS_LITERAL_STRING(SB_PROPERTY_ORDINAL)
 
#define ISLIST_PROPERTY   NS_LITERAL_STRING(SB_PROPERTY_ISLIST)
 

Macro Definition Documentation

#define CONPROP_ALIAS   NS_LITERAL_STRING("_conprop")

Definition at line 68 of file sbLocalDatabaseQuery.cpp.

#define CONSTRAINT_ALIAS   NS_LITERAL_STRING("_con")

Definition at line 63 of file sbLocalDatabaseQuery.cpp.

#define COUNT_COLUMN   NS_LITERAL_STRING("count(1)")

Definition at line 41 of file sbLocalDatabaseQuery.cpp.

#define CREATED_COLUMN   NS_LITERAL_STRING("created")

Definition at line 42 of file sbLocalDatabaseQuery.cpp.

#define DISTINCT_ALIAS   NS_LITERAL_STRING("_d")

Definition at line 67 of file sbLocalDatabaseQuery.cpp.

#define GETNOTNULL_ALIAS   NS_LITERAL_STRING("_getnotnull")

Definition at line 64 of file sbLocalDatabaseQuery.cpp.

#define GETNULL_ALIAS   NS_LITERAL_STRING("_getnull")

Definition at line 65 of file sbLocalDatabaseQuery.cpp.

#define GUID_COLUMN   NS_LITERAL_STRING("guid")

Definition at line 43 of file sbLocalDatabaseQuery.cpp.

#define ISLIST_COLUMN   NS_LITERAL_STRING("is_list")

Definition at line 52 of file sbLocalDatabaseQuery.cpp.

#define ISLIST_PROPERTY   NS_LITERAL_STRING(SB_PROPERTY_ISLIST)

Definition at line 71 of file sbLocalDatabaseQuery.cpp.

#define MEDIAITEMID_COLUMN   NS_LITERAL_STRING("media_item_id")

Definition at line 47 of file sbLocalDatabaseQuery.cpp.

#define MEDIAITEMS_ALIAS   NS_LITERAL_STRING("_mi")

Definition at line 62 of file sbLocalDatabaseQuery.cpp.

#define MEDIAITEMS_TABLE   NS_LITERAL_STRING("media_items")

Definition at line 58 of file sbLocalDatabaseQuery.cpp.

#define MEDIALISTYPEID_COLUMN   NS_LITERAL_STRING("media_list_type_id")

Definition at line 51 of file sbLocalDatabaseQuery.cpp.

#define OBJ_COLUMN   NS_LITERAL_STRING("obj")

Definition at line 44 of file sbLocalDatabaseQuery.cpp.

#define OBJSECONDARYSORTABLE_COLUMN   NS_LITERAL_STRING("obj_secondary_sortable")

Definition at line 46 of file sbLocalDatabaseQuery.cpp.

#define OBJSORTABLE_COLUMN   NS_LITERAL_STRING("obj_sortable")

Definition at line 45 of file sbLocalDatabaseQuery.cpp.

#define ORDINAL_COLUMN   NS_LITERAL_STRING("ordinal")

Definition at line 49 of file sbLocalDatabaseQuery.cpp.

#define ORDINAL_PROPERTY   NS_LITERAL_STRING(SB_PROPERTY_ORDINAL)

Definition at line 70 of file sbLocalDatabaseQuery.cpp.

#define PROPERTIES_FTS_ALL_TABLE   NS_LITERAL_STRING("resource_properties_fts_all")

Definition at line 57 of file sbLocalDatabaseQuery.cpp.

#define PROPERTIES_FTS_TABLE   NS_LITERAL_STRING("resource_properties_fts")

Definition at line 56 of file sbLocalDatabaseQuery.cpp.

#define PROPERTIES_TABLE   NS_LITERAL_STRING("resource_properties")

Definition at line 55 of file sbLocalDatabaseQuery.cpp.

#define PROPERTYID_COLUMN   NS_LITERAL_STRING("property_id")

Definition at line 48 of file sbLocalDatabaseQuery.cpp.

#define PROPERTYIDS_TABLE   NS_LITERAL_STRING("properties")

Definition at line 60 of file sbLocalDatabaseQuery.cpp.

#define PROPERTYNAME_COLUMN   NS_LITERAL_STRING("property_name")

Definition at line 50 of file sbLocalDatabaseQuery.cpp.

#define ROWID_COLUMN   NS_LITERAL_STRING("rowid")

Definition at line 53 of file sbLocalDatabaseQuery.cpp.

#define SIMPLEMEDIALISTS_TABLE   NS_LITERAL_STRING("simple_media_lists")

Definition at line 59 of file sbLocalDatabaseQuery.cpp.

#define SORT_ALIAS   NS_LITERAL_STRING("_sort")

Definition at line 66 of file sbLocalDatabaseQuery.cpp.