core37Example.sdl

Schema for the core37Example_main.c example. Compile this schema using rdm-compile as follows:

rdm-compile --c-structs --lc-struct-members --catalog core37Example.sdl

and include the generated header file(s) as follows:

#include "core37Example_structs.h"
#include "core37Example_cat.h"

and compile the following generated source file(s):

core37Example_cat.c

Here follows the actual schema:

create table info
(
id unsigned integer primary key,
model char(20) not null,
description long varchar
);