• Antelope Release 5.10 Linux CentOS release 7.6.1810 (Core) 3.10.0 2020-05-12

 

NAME

dbcompile - add attributes and/or relations to schema

SYNOPSIS

#include "db.h" ;

int dbcompile(Dbptr db, char *s)

DESCRIPTION

dbcompile allows adding new attributes and relations to a schema temporarily during program execution. This allows a program to generate a temporary table for some processing. The first argument is a database pointer which identifies the schema to which attributes and relations are to be added. The second argument is a string, with schema statements as described in the dbschema(5).

RETURN VALUES

dbcompile returns zero on success, and non-zero if any error occurs. Verbose error messages are saved in the error log, and may be printed with clear_register(3).

LIBRARY

$(DBLIBS)

SEE ALSO

dbschema(5)
clear_register(3)
dbintro(3)

AUTHOR

Daniel Quinlan
Printer icon