Skip to content
eoudejans edited this page Jul 24, 2024 · 13 revisions

Relational model versus Semantic arrays DML

In the relational model a DML (data manipulation language) is used to select, insert, update or delete data in a database. SQL is one of the most used DML (as well as DDL) language.

The GeoDMS modelling language is a functional programming language. Programming is done with expressions instead of statements, avoiding changing-state and mutable data. The GeoDMS is also not meant to manage data in external databases. Therefore there are no GeoDMS functions for SQL Insert, Update, Delete and Select Into Statements.

SQL Select

The SQL Select is used to make selections of data from one or more tables/views in a desired sequence. The SQL statement implicitly creates a new view, which can be used as a table, with a selection of the records of the original table(s)/view(s).

As the GeoDMS works with semantic arrays, new domain units need to be configured before the data items can be configured. The GeoDMS has a set of relational functions. These functions often result in mappings towards the original domain units, which can be used to define the new data items.

examples

Clone this wiki locally