java/webservice/src/main/java/be/bosa/dt/best/webservice/Repository.java
/**
	 * Find a postal info by ID
	 * 
	 * @param id full postalinfo id
	 * @return postalinfo or null
	 */
Find a postal info by ID

@param id full postalinfo id
@return postalinfo or null
Find a postal info by ID @param id full postalinfo id @return postalinfo or null
public Uni<PostalInfo> findPostalInfoById(String id) {
		Tuple tuple = Tuple.of(NsConverter.postalEncode(id));
		SqlPostalInfo qry = new SqlPostalInfo();
		qry.where("p.identifier =");
		return uni(
			pg.preparedQuery(qry.build()).execute(tuple)
		).transform(row -> row.hasNext() ? PostalInfo.from(row.next()) : null);
	}
public Uni < PostalInfo > findPostalInfoById ( String id ) { Tuple tuple = Tuple . of ( NsConverter . postalEncode ( id ) ) ; SqlPostalInfo qry = new SqlPostalInfo ( ) ; qry . where ( "p.identifier =" ) ; return uni ( pg . preparedQuery ( qry . build ( ) ) . execute ( tuple ) ) . transform ( row -> row . hasNext ( ) ? PostalInfo . from ( row . next ( ) ) : null ) ; }
Find a postal info by ID
Find a postal info by ID