src/main/java/org/opensrp/repository/couch/ViewConfigurationRepositoryImpl.java
/**
	 * Get all ViewConfigurations without a server version
	 *
	 * @return view configuration
	 */
Get all ViewConfigurations without a server version
@return view configuration
Get all ViewConfigurations without a server version @return view configuration
@View(name = "view_configurations_by_empty_server_version", map = "function(doc) { if ( doc.type == 'ViewConfiguration' && !doc.serverVersion) { emit(doc._id, doc); } }")
	public List<ViewConfiguration> findByEmptyServerVersion() {
		return db.queryView(createQuery("view_configurations_by_empty_server_version").limit(200).includeDocs(true),
		    ViewConfiguration.class);
	}
@ View ( name = "view_configurations_by_empty_server_version" , map = "function(doc) { if ( doc.type == 'ViewConfiguration' && !doc.serverVersion) { emit(doc._id, doc); } }" ) public List < ViewConfiguration > findByEmptyServerVersion ( ) { return db . queryView ( createQuery ( "view_configurations_by_empty_server_version" ) . limit ( 200 ) . includeDocs ( true ) , ViewConfiguration . class ) ; }
Get all ViewConfigurations without a server version
 @return view configuration
Get all ViewConfigurations without a server version @return view configuration