jodd-db/src/main/java/jodd/db/oom/sqlgen/DbEntitySql.java
public DbSqlBuilder deleteById(final Object entity) {
		final String tableRef = createTableRefName(entity);
		return sql().$(DELETE_FROM).table(entity, null, tableRef).$(WHERE).matchIds(tableRef, entity);
	}
public DbSqlBuilder deleteById(final Object entity) {
		final String tableRef = createTableRefName(entity);
		return sql().$(DELETE_FROM).table(entity, null, tableRef).$(WHERE).matchIds(tableRef, entity);
	}
public DbSqlBuilder deleteById ( final Object entity ) { final String tableRef = createTableRefName ( entity ) ; return sql ( ) . $ ( DELETE_FROM ) . table ( entity , null , tableRef ) . $ ( WHERE ) . matchIds ( tableRef , entity ) ; }
Creates DELETE query that deletes entity by ID.
Creates DELETE query that deletes entity by ID .