Changeset 5136 for trunk/psLib/src/db/psDB.h
- Timestamp:
- Sep 26, 2005, 11:13:36 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/db/psDB.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/db/psDB.h
r4612 r5136 10 10 * @author Joshua Hoblitt 11 11 * 12 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 7-26 20:00:57$12 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-09-26 21:13:16 $ 14 14 * 15 15 * Copyright 2005 Joshua Hoblitt, University of Hawaii … … 104 104 * type is give by the psMetadataItem.type and psMetadataItem.ptype entries. A 105 105 * lookup table should be used to convert from PSLib types into MySQL 106 * compatible SQL data types. For example, a PS_ META_STRwould map to an SQL99107 * varchar. If the value of type is PS_ META_STRthen the psMetadataItem.data106 * compatible SQL data types. For example, a PS_DATA_STRING would map to an SQL99 107 * varchar. If the value of type is PS_DATA_STRING then the psMetadataItem.data 108 108 * element is set to a string with the length for the field written as a text 109 109 * string. The value of the psMetadataItem.data element is unused for the 110 * PS_META_PRIMITIVE types. Other psMetadata types beyond PS_ META_STRand110 * PS_META_PRIMITIVE types. Other psMetadata types beyond PS_DATA_STRING and 111 111 * PS_META_PRIMITIVE are not allowed in a table definition. 112 112 * … … 170 170 * values, one per row. 171 171 * 172 * Currently, the "where" specification only supports the PS_ META_STRtype.172 * Currently, the "where" specification only supports the PS_DATA_STRING type. 173 173 * The string value can be a SQL match pattern, e.g. "%foo%", or an empty 174 174 * string, e.g. "", to match NULL field values. … … 189 189 * The "row" specification uses the psMetadataItem name as the column name. 190 190 * The field values may be specified in any order. psMetadata types beyond 191 * PS_ META_STRand PS_META_PRIMITIVE are not supported. If fields are191 * PS_DATA_STRING and PS_META_PRIMITIVE are not supported. If fields are 192 192 * specified in "row" that do not exist in "tableName", the insert will fail. 193 193 *
Note:
See TracChangeset
for help on using the changeset viewer.
