starher.blogg.se

Gaia project insert
Gaia project insert











gaia project insert

To put all of this together, you'll also write a small application that inserts some names into the names table to fire the Rules. A Rule that fires on insertions into the greetings table and prints the greeting values to the console.A Rule that fires on insertions into the names table and that will in turn form and insert a greeting into the greetings table.A greetings table with a single greeting column, of string type.A names table with a single name column, of string type.The insertions into the second table fire a second Rule that prints the greetings to the console.

Gaia project insert code#

To demonstrate the features of the system, the code inserts names into a table, which fires a Rule that generates greetings for those names and inserts them into a second table. The goal of the application is to generate greetings for input names. This walkthrough assumes that you are using Clang 10. Write, build, and execute a simple application to fire our Rules by inserting data into the database.įor information about the Gaia Platform prerequisites and installing the SDK, see Getting Started with the Gaia Platform.

gaia project insert

  • Write a few simple Rules and translate them using the Gaia Translation Engine (gaiat).
  • Define a database schema and compile it with the Gaia Catalog Tool (gaiac).
  • The example walks you through most aspects of the Gaia Platform system.

    gaia project insert

    If you encounter any errors along the way, you can compare the files that you generated from these instructions against those already provided. The code that you will write is also available under the /opt/gaia/examples/hello folder of the distribution package. In this walkthrough, you'll write and run your first Gaia Platform application. Features might change when the product is released for general availability. The information contained in this document represents information about preview features of the product.













    Gaia project insert