| const TInt | KTopicTblTopicTitle |
| const TInt | KTopicTblCategoryTitle |
| const TInt | KTopicTblTopicText |
| const TInt | KTopicTblTopicMarkup |
| const TInt | KTopicTblSynonym |
| const TInt | KTopicTblTopicId |
| const TInt | KTopicTblCategoryUID |
| const TInt | KIndexTblIndex |
| const TInt | KIndexTblIndexId |
| const TInt | KTopicIndexTblTopicId |
| const TInt | KTopicIndexTblIndexId |
| const TInt | KTopicIndexTblCategoryUID |
| const TInt | KTopicIndexTblTopicTitle |
| const TInt | KContextTblContext |
| const TInt | KContextTblTopicId |
| const TInt | KImageTblImageId |
| const TInt | KImageTblImageCount |
| const TInt | KImageTblImage0 |
| const TInt | KImageTblImage1 |
| const TInt | KImageTblImage2 |
| _LIT | ( | KHlpDMLTopicTable | , |
| "CREATE TABLE Topic (TopicTitle CHAR(120), Category CHAR(120), TopicText LONG VARCHAR, TopicMarkup LONG VARBINARY, Synonym CHAR(200), TopicId UNSIGNED INTEGER, CategoryUID UNSIGNED INTEGER)" | |||
| ) | |||
| _LIT | ( | KHlpDMLIndexTable | , |
| "CREATE TABLE Index (Index CHAR(120), IndexId UNSIGNED INTEGER)" | |||
| ) | |||
| _LIT | ( | KHlpDMLTopicIndexTable | , |
| "CREATE TABLE TopicIndex (TopicId UNSIGNED INTEGER, IndexId UNSIGNED INTEGER, CategoryUID UNSIGNED INTEGER, TopicTitle CHAR(120))" | |||
| ) | |||
| _LIT | ( | KHlpDMLContextTable | , |
| "CREATE TABLE Context (Context CHAR(30), TopicId UNSIGNED INTEGER)" | |||
| ) | |||
| _LIT | ( | KHlpDMLImageTable | , |
| "CREATE TABLE Image (ImageId UNSIGNED INTEGER, ImageCount UNSIGNED INTEGER, Image0 LONG VARBINARY, Image1 LONG VARBINARY, Image2 LONG VARBINARY)" | |||
| ) | |||
| _LIT | ( | KHlpDMLTopicTableIdx | , |
| "CREATE UNIQUE INDEX TopicIdx ON Topic (TopicId)" | |||
| ) | |||
| _LIT | ( | KHlpDMLIndexTableIdx | , |
| "CREATE UNIQUE INDEX IndexIdx ON Index (IndexId)" | |||
| ) | |||
| _LIT | ( | KHlpDMLTopicIndexTableIdx | , |
| "CREATE UNIQUE INDEX TopicIndexIdx ON TopicIndex (IndexId, TopicId)" | |||
| ) | |||
| _LIT | ( | KHlpDMLContextTableIdx | , |
| "CREATE UNIQUE INDEX ContextIdx ON Context (Context)" | |||
| ) | |||
| _LIT | ( | KHlpDMLImageTableIdx | , |
| "CREATE UNIQUE INDEX ImageIdx ON Image (ImageId)" | |||
| ) | |||
| _LIT | ( | KHlpSQLTopicTable | , |
| "SELECT * FROM Topic" | |||
| ) | |||
| _LIT | ( | KHlpSQLIndexTable | , |
| "SELECT * FROM Index" | |||
| ) | |||
| _LIT | ( | KHlpSQLTopicIndexTable | , |
| "SELECT * FROM TopicIndex" | |||
| ) | |||
| _LIT | ( | KHlpSQLContextTable | , |
| "SELECT * FROM Context" | |||
| ) | |||
| _LIT | ( | KHlpSQLImageTable | , |
| "SELECT * FROM Image" | |||
| ) | |||
| Enumerator | Value | Description |
|---|---|---|
| ETopicTable | ||
| EIndexTable | ||
| ETopicIndexTable | ||
| EContextTable | ||
| EImageTable |