/** Delete all entities of BundleInfo of a certain host from the database. */ public static Effect<EntityManager> deleteByHost(String host) { return named.update("BundleInfo.deleteByHost", tuple("host", host)).toEffect(); }
/** Delete a bundle info. */ public static Effect<EntityManager> delete(final String host, final long bundleId) { return named.update("BundleInfo.delete", tuple("host", host), tuple("bundleId", bundleId)).toEffect(); } }