code: private List<TaskDef> findAllTaskDefs(Connection tx) {
          final String READ_ALL_TASKDEF_QUERY = "SELECT json_data FROM meta_task_def";
  
          return query(tx, READ_ALL_TASKDEF_QUERY, q -> q.executeAndFetch(TaskDef.class));
      }
docs: Query persistence for all defined {@link TaskDef} data.
  
  @param tx The {@link Connection} to use for queries.
  @return A new {@code List<TaskDef>} with all the {@code TaskDef} data that was retrieved.