doc: extend readme
This commit is contained in:
parent
1ba1fe3480
commit
8cc04caf6e
|
@ -1,3 +1,8 @@
|
||||||
* connect to database like [this](./doc/connect2db.md)
|
* connect to database like [this](./doc/connect2db.md)
|
||||||
|
|
||||||
* create initial database like [this](./doc/create-db.md)
|
* create initial database like [this](./doc/create-db.md)
|
||||||
|
|
||||||
|
* SQL query for all relations belonging to a specific entity
|
||||||
|
```
|
||||||
|
select entities.entity_id,entities.entity_name, relations.relation_to_entity from entities,relations where relations.relation_from_entity=6 and entities.entity_id=relations.relation_to_entity;
|
||||||
|
```
|
Loading…
Reference in New Issue