DuroDBMS API  1.7
Data Fields
RDB_attr Struct Reference

#include <type.h>

Data Fields

char * name
 
RDB_typetyp
 
RDB_expression * defaultp
 
int options
 

Detailed Description

This struct is used to specify attribute definitions.

Field Documentation

◆ defaultp

RDB_expression* RDB_attr::defaultp

If not NULL, this field must point to an RDB_expression structure that specifies the default value for the attribute.

Referenced by RDB_table_attrs().

◆ name

char* RDB_attr::name

The name of the attribute.

Referenced by RDB_table_attrs().

◆ options

int RDB_attr::options

This field is currently ignored. It should be set to zero for compatibility with future versions of DuroDBMS.

◆ typ

RDB_type* RDB_attr::typ

The type of the attribute.

Referenced by RDB_is_subtype(), and RDB_set_cleanup().


The documentation for this struct was generated from the following file: