Package com.imaginea.mongodb.services

Examples of com.imaginea.mongodb.services.GridFSService.executeQuery()


                    // when commands are of the form db.bucketName.find
                } else {
                    throw new InvalidMongoCommandException(ErrorCodes.INVALID_COMMAND, "Invalid command");
                }
                String jsonStr = query.substring(startIndex + 1, endIndex);
                return gridFSService.executeQuery(dbName, bucket, collectionName, command, jsonStr, skip, limit, sortBy);
            }
        });
        return response.replace("\\", "").replace("\"{", "{").replace("}\"", "}");
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.