-
Notifications
You must be signed in to change notification settings - Fork 5
Changlog after Gem 0.79
topofocus edited this page May 8, 2019
·
23 revisions
- OrientQuery: Arguments can be chained
- OrientQuery: (Match-Syntax) methods connect and statement return an OrientQuery-Object instead of a Matchstatement.
- Delete: Class#delete, Vertex#delete removed any record when called without a condition. Now:
all: trueis required
SomeClass.delete all: true # leads to an empty class- Edge.create: To put attributes (properties) to the edge, the keyword »set« is used. We are following the syntax of OrientDB#CreateEdge. As for Vertex#Create, the keyword :set is optional.
- ORD.create_vertex, ORD.create_edge (file: class_utils.rb):: removed in favor of Vertex.create and Edge.create
- ActiveOrient::Model Objects respond to
to_human, which is alias byto_s - Vertex.edges selects adjacent edges by /pattern/ or by EDGE_CLASS. If a pattern is used, inheritance is respected. If a EDGE_CLASS is used, only edges of this particular class are selected.
Overview
Data Management
- Joining Tables, embedded Lists
- Links and Link Lists
- Relations
- Bidirectional Connections
- Working with Hashes
Public API
- Database
- Model CRUD
Misc