Skip to content

Commit

Permalink
adding reserved keywords to docs
Browse files Browse the repository at this point in the history
  • Loading branch information
elubow committed Sep 29, 2015
1 parent 6d4a2fb commit a0cac52
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/titanbasics.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1323,6 +1323,20 @@ Type Definitions cannot be changed

The definition of an edge label, property key, or vertex label cannot be changed once it has been committed to the graph. However, a type can be renamed and new types can be created at runtime to accommodate an evolving schema.

Reserved Keywords
^^^^^^^^^^^^^^^^^

There are certain keywords that Titan uses internally for types that cannot be used otherwise. These types include vertex labels, edge labels, and property keys. The following are keywords that cannot be used:

* vertex
* element
* edge
* property
* label
* key

For example, if you attempt to create a vertex with the label of `property`, you will receive an exception regarding protected system types.

Temporary Limitations
~~~~~~~~~~~~~~~~~~~~~

Expand Down

0 comments on commit a0cac52

Please sign in to comment.