forked from acaprojects/couchbase-orm
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
By default, Couchbase-orm requires all attributes that may be set on a document to be explicitly defined using attribute declarations. Couchbase-orm should also supports creating attributes on the fly from an arbitrary hash or documents stored in the database.
class Person < CouchbaseOrm::Base
end
bob = Person.new(name: 'Bob', age: 42)
bob.name
# => "Bob"Metadata
Metadata
Assignees
Labels
No labels