Set the shard that this object is tied to. Returns self.
# File lib/sequel/plugins/sharding.rb, line 47 def set_server(s) @server = s self end
Set the server that this object is tied to, unless it has already been set. Returns self.
# File lib/sequel/plugins/sharding.rb, line 54 def set_server?(s) @server ||= s self end
Ensure that the instance dataset is tied to the correct shard.
# File lib/sequel/plugins/sharding.rb, line 60 def this use_server(super) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.