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