fakemongo / fongo

faked out in-memory mongo for java
Apache License 2.0
523 stars 156 forks source link

Not implemented for command : { "enablesharding" : "db_name"} #319

Open ganesh14shinde opened 6 years ago

ganesh14shinde commented 6 years ago

enablesharding commamd is not working on Fongo version 2.1.0

getting below error: com.github.fakemongo.FongoException: Not implemented for command : { "enablesharding" : "db_name"} at com.github.fakemongo.FongoConnection.command(FongoConnection.java:552) at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:215) at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:186) at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:178) at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:91) at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:84) at com.mongodb.operation.CommandReadOperation.execute(CommandReadOperation.java:55) at com.github.fakemongo.Fongo.execute(Fongo.java:179) at com.mongodb.DB.executeCommand(DB.java:653) at com.mongodb.DB.command(DB.java:423) at com.mongodb.DB.command(DB.java:439) at com.mongodb.DB.command(DB.java:394)