eXtremeSQL is implemented as a compact set of C++ classes in pre-built libraries that provide SQL access to eXtremeDB databases. The usage of these classes is demonstrated in the SQL C++ SDK Samples. For developers new to eXtremeSQL, we recommend the Quick Start tutorial to quickly learn the programming fundamentals. Then proceed to build and run the SDK samples.
As demonstrated in these samples, an embedded SQL application will define its database schema using the eXtremeDB DDL then compile the schema using
mcocomp
as for all C and C++ applications. The applications will then use the static C API functions to start the eXtremeDB runtime and specify memory devices. Typically database parameters will be specified in an instance of class McoSqlOpenParameters then theopen()
method of class McoSqlEngine is called to initialize the SQL engine which is used for all SQL database access through methodsexecuteQuery()
andexecuteStatement()
.Please use the following link for general principles of embedded eXtremeSQLapplication implementation using the C/C++ API.