From type policy to typology

Now that the founding dichotomy is chosen, there are additional steps to achieve in order to build what the database shall exemplify, a typology. But the type policy can't restrict to this preliminary choice. The construction of a typology requires to obey explicit naming rules and is probably closely bond to the evolution of implied … Continue reading From type policy to typology


Types : the primacy of unicity explained

Whatever we choose as type policy for our properties will nevertheless pertain to a record that can't divert from its unicity-based type policy. For there are functional reasons (e.g. the ability to create subdbs) that involve to consider records this way. Thus the type policy relies on a unique principle only when this principle is … Continue reading Types : the primacy of unicity explained

More about properties and types

As we can grasp it now the node table is mess: nodes don't appear in the order of their chain but according to the moment in which they were created. Though located in another table, symbols look like nodes but constitute another type of entry. But of what types are we talking about in this … Continue reading More about properties and types

Aliases and network development

Setting an alias for a record isn't mandatory in Unidatab but it can make a database available for multi-user and online use. Just as much as a type policy is needed for the sake of inner soundness of a database, an alias policy is needed in order to combine several databases over the network, making … Continue reading Aliases and network development

How to delete a record: flyers and junk

? select remove_record(-214) 4 This function takes care of cleaning the base (more precisely the symbol table) from occurences of the deleted record, replacing them by 0. It only accepts valid record ids (identification numbers) and returns the number of nodes deleted (not the number of nodes modified). Flyers and junks The record contains symbols … Continue reading How to delete a record: flyers and junk

How to create a record

In the previous example we were trying to append a symbol to a record called 'myrecord'. Let's see how to create this record. We can do this conveniently through make_record(): ? select make_record('myrecord','test') -204 How does this new record, which only has a title and a format, look like: ? select send_full_record(-204,1) -204 63 -201 … Continue reading How to create a record

Structure of the node table 3: more about symbols

In the previous example we saw a symbol and discovered that a symbol is similar to an  entry of the node table: ? select show_symbol(-170): i a d n t u -170 53 1 0 1355779205 admin #Unid default set ? select * from unid_symbol where i = -170 a    d    i    n    t    u   … Continue reading Structure of the node table 3: more about symbols