Matricsoft - software development | |||||||||||||
news - products - downloads - support / feedback | |||||||||||||
products > Quickdb > types | |||||||||||||
|
Typesenum EType { db_int, db_string, db_long, db_ref } Definition of the field typesEach field in a table have a determined type (int, long, srting or ref):
Quickdb is "strongly typed"When you create a record, it is very important for you to respect the data type you used to define the table: For instance, if you define a field with a "db_long" type and you don't five a long argument to the method set_field, the method will throw an exception (if you use a constant, you shall cast it: set_field(..., (long) 3); This avoids errors. |
||||||||||||
Copyright (c) 2001-2002 Matricsoft info@matricsoft.com |