Class: OrientDB::AR::Embedded
- Inherits:
-
Object
- Object
- OrientDB::AR::Embedded
show all
- Extended by:
- Relations
- Includes:
- ActiveModel::AttributeMethods, DocumentMixin
- Defined in:
- lib/orientdb-ar/embedded.rb
Instance Attribute Summary
#odocument
Class Method Summary
collapse
Instance Method Summary
collapse
Methods included from Relations
embedds_many, embedds_one, links_many, links_one
#<=>, #connection, #embedded?, #field?, #human_id, included, #initialize, #inspect, #method_missing, #oclass, #oclass_name, #related, #related_valid?, #respond_to?, #rid, #valid_with_default_group?, #validate, #validate_to_parent
Class Method Details
.all(conditions = { }) ⇒ Object
78
79
80
|
# File 'lib/orientdb-ar/embedded.rb', line 78
def all(conditions = { })
raise "Not implemented on Embedded models"
end
|
.clear ⇒ Object
102
103
104
|
# File 'lib/orientdb-ar/embedded.rb', line 102
def clear
raise "Not implemented on Embedded models"
end
|
.count ⇒ Object
98
99
100
|
# File 'lib/orientdb-ar/embedded.rb', line 98
def count
raise "Not implemented on Embedded models"
end
|
.create(fields = { }) ⇒ Object
52
53
54
|
# File 'lib/orientdb-ar/embedded.rb', line 52
def create(fields = { })
raise "Not implemented on Embedded models"
end
|
.delete(*args) ⇒ Object
90
91
92
|
# File 'lib/orientdb-ar/embedded.rb', line 90
def delete(*args)
raise "Not implemented on Embedded models"
end
|
.descends_from_base? ⇒ Boolean
48
49
50
|
# File 'lib/orientdb-ar/embedded.rb', line 48
def descends_from_base?
superclass && superclass == OrientDB::AR::Embedded
end
|
.embeddable? ⇒ Boolean
36
37
38
|
# File 'lib/orientdb-ar/embedded.rb', line 36
def embeddable?
true
end
|
.first(conditions = { }) ⇒ Object
82
83
84
|
# File 'lib/orientdb-ar/embedded.rb', line 82
def first(conditions = { })
raise "Not implemented on Embedded models"
end
|
.insert(*args) ⇒ Object
94
95
96
|
# File 'lib/orientdb-ar/embedded.rb', line 94
def insert(*args)
raise "Not implemented on Embedded models"
end
|
.limit(max_records) ⇒ Object
70
71
72
|
# File 'lib/orientdb-ar/embedded.rb', line 70
def limit(max_records)
raise "Not implemented on Embedded models"
end
|
.oclass ⇒ Object
44
45
46
|
# File 'lib/orientdb-ar/embedded.rb', line 44
def oclass
@oclass ||= connection.get_or_create_class oclass_name, fields.dup
end
|
.order(*args) ⇒ Object
66
67
68
|
# File 'lib/orientdb-ar/embedded.rb', line 66
def order(*args)
raise "Not implemented on Embedded models"
end
|
.range(lower_rid, upper_rid = nil) ⇒ Object
74
75
76
|
# File 'lib/orientdb-ar/embedded.rb', line 74
def range(lower_rid, upper_rid = nil)
raise "Not implemented on Embedded models"
end
|
.select(*args) ⇒ Object
Also known as:
columns
56
57
58
|
# File 'lib/orientdb-ar/embedded.rb', line 56
def select(*args)
raise "Not implemented on Embedded models"
end
|
.update(*args) ⇒ Object
86
87
88
|
# File 'lib/orientdb-ar/embedded.rb', line 86
def update(*args)
raise "Not implemented on Embedded models"
end
|
.where(*args) ⇒ Object
62
63
64
|
# File 'lib/orientdb-ar/embedded.rb', line 62
def where(*args)
raise "Not implemented on Embedded models"
end
|
Instance Method Details
#delete ⇒ Object
12
13
14
|
# File 'lib/orientdb-ar/embedded.rb', line 12
def delete
raise "Not implemented on Embedded models"
end
|
#deleted? ⇒ Boolean
24
25
26
|
# File 'lib/orientdb-ar/embedded.rb', line 24
def deleted?
false
end
|
#persisted? ⇒ Boolean
28
29
30
|
# File 'lib/orientdb-ar/embedded.rb', line 28
def persisted?
false
end
|
#reload ⇒ Object
16
17
18
|
# File 'lib/orientdb-ar/embedded.rb', line 16
def reload
raise "Not implemented on Embedded models"
end
|
#save ⇒ Object
8
9
10
|
# File 'lib/orientdb-ar/embedded.rb', line 8
def save
raise "Not implemented on Embedded models"
end
|
#saved? ⇒ Boolean
20
21
22
|
# File 'lib/orientdb-ar/embedded.rb', line 20
def saved?
false
end
|