Sha256: 036b2c39e107c256ee18d4afdc22cf63c38d243e45633caa462f6242779c5c8e

Contents?: true

Size: 432 Bytes

Versions: 9

Compression:

Stored size: 432 Bytes

Contents

require 'digest/sha1'
require "uri"

require "not_relational/domain_model.rb"
#for testing composite keys
class PageViewSummary < NotRelational::DomainModel

    property :username,:string,:is_primary_key=>true
  property :date,:date,:is_primary_key=>true
   property :page_view_count,:integer
property :details,:reference_set
property :type,:integer,:enum =>[:BLOG,:HOMEPAGE,:PORTAL]
  has_many :PageViewDetail,:without_prefix

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cloudwow-not_relational-0.1.0 test/models/page_view_summary.rb
cloudwow-not_relational-0.1.11 test/models/page_view_summary.rb
cloudwow-not_relational-0.1.2 test/models/page_view_summary.rb
cloudwow-not_relational-0.1.3 test/models/page_view_summary.rb
cloudwow-not_relational-0.1.5 test/models/page_view_summary.rb
cloudwow-not_relational-0.1.6 test/models/page_view_summary.rb
cloudwow-not_relational-0.1.7 test/models/page_view_summary.rb
cloudwow-not_relational-0.1.8 test/models/page_view_summary.rb
cloudwow-not_relational-0.1.9 test/models/page_view_summary.rb