org.babyfish.jimmer.sql.ast.mutation.DeleteCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jimmer-sql Show documentation
Show all versions of jimmer-sql Show documentation
A revolutionary ORM framework for both java and kotlin
package org.babyfish.jimmer.sql.ast.mutation;
import org.babyfish.jimmer.lang.NewChain;
import org.babyfish.jimmer.lang.OldChain;
import org.babyfish.jimmer.meta.ImmutableProp;
import org.babyfish.jimmer.meta.TypedProp;
import org.babyfish.jimmer.sql.DissociateAction;
import org.babyfish.jimmer.sql.ast.Executable;
import java.util.function.Consumer;
public interface DeleteCommand extends Executable {
@NewChain
DeleteCommand setMode(DeleteMode mode);
@NewChain
default DeleteCommand setDissociateAction(TypedProp.Reference, ?> prop, DissociateAction dissociateAction) {
return setDissociateAction(prop.unwrap(), dissociateAction);
}
@NewChain
DeleteCommand setDissociateAction(ImmutableProp prop, DissociateAction dissociateAction);
}