Sha256: 2f1386f29395197c7e4eac47db456bdbf413687a850758e33f65196b17345983
Contents?: true
Size: 338 Bytes
Versions: 4
Compression:
Stored size: 338 Bytes
Contents
module Dynomite::Item::Indexes class PrimaryIndex attr_reader :fields def initialize(fields) @fields = fields end # primary index is the table itself # no name. LSI and GSI have names. def index_name "primary_key (fields: #{fields.join(", ")})" end def primary? true end end end
Version data entries
4 entries across 4 versions & 1 rubygems