# File lib/mongoid/sharding.rb, line 56
def
shard_key
(
*
names
)
self
.
shard_key_fields
=
names
end