Antarctic Nest of Icephoenix

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • About

Monthly Archives: June 2013

MongoDB: Deleting Collection with a space in the name

Posted on June 18, 2013 by admin
Reply

Run across this interesting problem few days ago — a collection was created with a space in it’s name. Can’t deleted with your regular db.COLLECTION.drop(); The workaround is simple and straightforward though:

db["COLLECTION NAME"].drop();

Posted in Just messing... | Tagged mongodb | Leave a reply

Archives

  • August 2016
  • July 2016
  • November 2013
  • June 2013
  • July 2012
  • June 2012
  • May 2012
  • November 2011
  • September 2011
  • June 2011
  • April 2011
  • March 2011
  • February 2011
  • December 2010
  • November 2010
  • August 2010
  • July 2010
  • May 2010
  • April 2009
  • March 2009
  • October 2008
  • September 2008
  • July 2008
  • May 2008
  • April 2008
  • March 2008
  • November 2007

Recent Comments

  • Robert on Apache 2 and HTTP Authentication with PAM
  • admin on Hive’s LOAD DATA fails to import many files with exception in org.apache.hadoop.hive.ql.exec.CopyTask
  • mehmet ışık on Hive’s LOAD DATA fails to import many files with exception in org.apache.hadoop.hive.ql.exec.CopyTask
  • Lars Tiefland on Apache 2 and HTTP Authentication with PAM
  • Gerard Weatherby on Apache 2 and HTTP Authentication with PAM
Proudly powered by WordPress