Renamed demo to simple
This commit is contained in:
parent
9b5be391ef
commit
a91e271323
|
@ -7,8 +7,7 @@ host = ARGV[0] || 'localhost'
|
||||||
port = ARGV[1] || XGen::Mongo::Driver::Mongo::DEFAULT_PORT
|
port = ARGV[1] || XGen::Mongo::Driver::Mongo::DEFAULT_PORT
|
||||||
|
|
||||||
puts "Connecting to #{host}:#{port}"
|
puts "Connecting to #{host}:#{port}"
|
||||||
|
db = Mongo.new(host, port).db('ruby-mongo-examples-simple')
|
||||||
db = Mongo.new(host, port).db('ruby-mongo-demo')
|
|
||||||
coll = db.collection('test')
|
coll = db.collection('test')
|
||||||
coll.clear
|
coll.clear
|
||||||
|
|
Loading…
Reference in New Issue