revDatabaseColumnTypes | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Synonyms | revdb_columntypes | ||||||
Associations | database library | ||||||
Summary | Returns the data types of the columns in a record set. | ||||||
Introduced | 1.1.1 | ||||||
Changes | The revDatabaseColumnTypes synonym was added in version 2.0. | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Parameters |
| ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: field Control Structure: function Function: revDatabaseColumnNames, revDatabaseColumnLengths, revDatabaseType Library: Database library Glossary: LiveCode custom library, return, binary file, record set, Standalone Application Settings, standalone application, column, database field, BLOB | ||||||
Security | disk, network | ||||||
Description | Use the revDatabaseColumnTypes function to find out the data type of a database field. The possible data types are:
You can use the revDatabaseColumnTypes function to find out what kind of data you need to be prepared for. For example, if BLOB is one of the data types, that column is binary data, so you should not attempt to display it in a field.
|