add
This commit is contained in:
@@ -7,11 +7,11 @@
|
|||||||
1. 根据用户提供的`username`查询`user_id`,只会查出来1行数据,示例:
|
1. 根据用户提供的`username`查询`user_id`,只会查出来1行数据,示例:
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
select user_id from mis-cloud-claw.sys_user where user_name = '{username}';
|
select user_id from `mis-cloud-claw`.`sys_user` where user_name = '{username}';
|
||||||
```
|
```
|
||||||
|
|
||||||
2. 根据`user_id`查询agent信息,可能返回多行数据,使用markdown表格的形式展示每一行的数据,示例:
|
2. 根据`user_id`查询agent信息,可能返回多行数据,使用markdown表格的形式展示每一行的数据,示例:
|
||||||
|
|
||||||
```sql
|
```sql
|
||||||
select agent_id, agent_mode, publish_status, publish_scope, published_at, version_lane, key_scope_default from mis-paw-claw.agent where create_by = '{user_id}';
|
select agent_id, agent_mode, publish_status, publish_scope, published_at, version_lane, key_scope_default from `mis-paw-claw`.`agent` where create_by = '1889506629046902786';
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user