mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-31 11:42:41 +08:00
Delete operations of functions
This commit is contained in:
@ -1,5 +1,6 @@
|
||||
package ai.chat2db.server.domain.api.service;
|
||||
|
||||
import ai.chat2db.server.tools.base.wrapper.result.ActionResult;
|
||||
import ai.chat2db.server.tools.base.wrapper.result.DataResult;
|
||||
import ai.chat2db.server.tools.base.wrapper.result.ListResult;
|
||||
import ai.chat2db.spi.model.Function;
|
||||
@ -21,10 +22,22 @@ public interface FunctionService {
|
||||
|
||||
/**
|
||||
* Querying function information.
|
||||
*
|
||||
* @param databaseName
|
||||
* @param schemaName
|
||||
* @param functionName
|
||||
* @return
|
||||
*/
|
||||
DataResult<Function> detail(String databaseName, String schemaName, String functionName);
|
||||
|
||||
/**
|
||||
* Delete function.
|
||||
*
|
||||
* @param databaseName
|
||||
* @param schemaName
|
||||
* @param function
|
||||
* @return
|
||||
*/
|
||||
ActionResult delete(String databaseName, String schemaName, Function function);
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user