src/main/java/Sign.java
public static List<Sign> all() {
		 String sql = "SELECT * FROM signs;";
		 try(Connection con = DB.sql2o.open()) {
			 return con.createQuery(sql)
			 .executeAndFetch(Sign.class);
		 }
	 }
//retrieving all the sings from the database
retrieving all the sings from the database
retrieving all the sings from the database
public static List<Sign> all() {
		 String sql = "SELECT * FROM signs;";
		 try(Connection con = DB.sql2o.open()) {
			 return con.createQuery(sql)
			 .executeAndFetch(Sign.class);
		 }
	 }
public static List < Sign > all ( ) { String sql = "SELECT * FROM signs;" ; try ( Connection con = DB . sql2o . open ( ) ) { return con . createQuery ( sql ) . executeAndFetch ( Sign . class ) ; } }
retrieving all the sings from the database
retrieving all the sings from the database