8 lines
209 B
Plaintext
8 lines
209 B
Plaintext
|
#!/usr/bin/env ruby
|
||
|
|
||
|
require File.join(File.dirname(__FILE__), '_common.rb')
|
||
|
db = Mongo.new(DEFAULT_HOST, DEFAULT_PORT).db(DEFAULT_DB)
|
||
|
|
||
|
db.collection('remove1').clear
|
||
|
db.collection('remove2').remove('a' => 3)
|