Changeset 15800 for gsdl/trunk/lib/sqlitedbclass.cpp
- Timestamp:
- 2008-05-29T15:42:27+12:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/lib/sqlitedbclass.cpp
r15798 r15800 151 151 text_tarray metadata_values; 152 152 153 // Get all the entries in the "value" column of the "document_metadata" table 153 // Check a metadata element has been specified 154 if (metadata_element_name == "") 155 { 156 return metadata_values; 157 } 158 159 // Get the entries in the "value" column of the "document_metadata" table where the element matches 154 160 text_t sql_cmd = "SELECT value FROM document_metadata WHERE element='" + metadata_element_name + "'"; 155 161 vector<text_tmap> sql_results;
Note:
See TracChangeset
for help on using the changeset viewer.