BerryRepository
树果仓储接口
定义树果的查询、保存与删除操作
Author
lishangbu
Since
2025/09/14
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun insertIfAbsent(entity: Berry, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Berry
open fun insertIfAbsent(input: Input<Berry>, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Berry
Link copied to clipboard
按 ID 查询单个树果视图
Link copied to clipboard
open fun <V : View<Berry>> save(entity: Berry, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): V
open fun <V : View<Berry>> save(input: Input<Berry>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): V
open fun save(input: Input<Berry>, fetcher: Fetcher<Berry>, block: KSaveCommandDsl.() -> Unit?): Berry
open fun save(entity: Berry, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Berry
open fun save(input: Input<Berry>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): Berry
open fun <V : View<Berry>> save(entity: Berry, mode: SaveMode, associatedMode: AssociatedSaveMode, viewType: KClass<V>, block: KSaveCommandPartialDsl.() -> Unit?): V
open fun save(entity: Berry, mode: SaveMode, associatedMode: AssociatedSaveMode, fetcher: Fetcher<Berry>, block: KSaveCommandPartialDsl.() -> Unit?): Berry
Link copied to clipboard
open fun saveCommand(entity: Berry, block: KSaveCommandDsl.() -> Unit?): KSimpleEntitySaveCommand<Berry>
open fun saveCommand(input: Input<Berry>, block: KSaveCommandDsl.() -> Unit?): KSimpleEntitySaveCommand<Berry>
open fun saveCommand(entity: Berry, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KSimpleEntitySaveCommand<Berry>
open fun saveCommand(input: Input<Berry>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KSimpleEntitySaveCommand<Berry>
Link copied to clipboard
open fun <V : View<Berry>> saveEntities(entities: Iterable<Berry>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): List<V>
open fun saveEntities(entities: Iterable<Berry>, fetcher: Fetcher<Berry>, block: KSaveCommandDsl.() -> Unit?): List<Berry>
open fun saveEntities(entities: Iterable<Berry>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): List<Berry>
Link copied to clipboard
open fun saveEntitiesCommand(entities: Iterable<Berry>, block: KSaveCommandDsl.() -> Unit?): KBatchEntitySaveCommand<Berry>
open fun saveEntitiesCommand(entities: Iterable<Berry>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KBatchEntitySaveCommand<Berry>
Link copied to clipboard
open fun saveInputs(inputs: Iterable<Input<Berry>>, block: KSaveCommandDsl.() -> Unit?): List<Berry>
open fun <V : View<Berry>> saveInputs(inputs: Iterable<Input<Berry>>, viewType: KClass<V>, block: KSaveCommandDsl.() -> Unit?): List<V>
open fun saveInputs(inputs: Iterable<Input<Berry>>, fetcher: Fetcher<Berry>, block: KSaveCommandDsl.() -> Unit?): List<Berry>
open fun saveInputs(inputs: Iterable<Input<Berry>>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): List<Berry>
Link copied to clipboard
open fun saveInputsCommand(input: Iterable<Input<Berry>>, block: KSaveCommandDsl.() -> Unit?): KBatchEntitySaveCommand<Berry>
open fun saveInputsCommand(inputs: Iterable<Input<Berry>>, mode: SaveMode, associatedMode: AssociatedSaveMode, block: KSaveCommandPartialDsl.() -> Unit?): KBatchEntitySaveCommand<Berry>