Skip to content

Releases: Zuoqiu-Yingyi/widget-query

Query v0.1.4 release

13 Feb 13:11
Compare
Choose a tag to compare

Query v0.1.3 release

12 Feb 13:26
Compare
Choose a tag to compare
  • v0.1.2 <=> v0.1.3
  • 修复默认处理方法参数错误 | Fixed default processing method parameter errors.
  • 默认块搜索结果排除挂件查询组合块 | The default block search results exclude the widget query combination block.

Query v0.1.2 release

10 Feb 09:48
Compare
Choose a tag to compare
Query v0.1.2 release Pre-release
Pre-release
  • v0.1.1 <=> v0.1.2
  • 修复配置文件字段引用错误 | Fix profile field reference errors.
  • 修复有序列表项与任务列表项中插入查询代码块运行时异常 | Fixed a run-time exception for inserting a query code block into a ordered list item or task list item.

Query v0.1.1 release

10 Feb 09:18
Compare
Choose a tag to compare
Query v0.1.1 release Pre-release
Pre-release
  • v0.1.0 <=> v0.1.1
  • 修复列表项中插入查询代码块运行时异常 | Fixed a run-time exception for inserting a query code block into a list item.
  • 修复引述块或超级快中插入查询代码时异常 | Fixed an exception when inserting query code in Quoted Block or Super Express.
  • 新增部分思源模板参数解析 | Added the parsing of partial template parameters in the Siyuan.
  • 默认查询时使用自定义处理方法 | Custom processing methods are used when querying by default.

Query v0.1.0 release

09 Feb 20:24
Compare
Choose a tag to compare
  1. 符合正则表达式 ^\s*SELECT\s+\*\s+FROM\s+blocks.* 的 SQL 语句将启用自定义渲染模式
    SQL statements that conform to the regular expression ^\s*SELECT\s+\*\s+FROM\s+blocks.* will enable custom rendering mode.
    • 这个正则表达式在 /src/script/module/config.js 中的 config.query.regs.blocks 配置
      This regular expression is configured in config.query.regs.blocks in /src/script/module/config.js
  2. 自定义渲染模式 | Custom rendering modes
    • 可以在 config.query.limit 中设置过长查询结果的截取方案
      You can set the the interception scheme for query results that are too long in config.query.limit.
      • config.query.maxlen: 最大长度 | Maximum length
      • config.query.maxrow: 最多行数 | Maximum number of rows
    • 可以在 config.query.fields 中设置想要显示的字段
      You can set the fields you want to display in config.query.fields.
    • 可以在 config.query.align 中设置各字段的对齐方式
      You can set the alignment of each field in config.query.align.
    • 可以在 config.query.handler 中设置各字段的处理方法
      You can set the handling method for each field in config.query.handler.
  3. 普通模式 | Normal mode
    • 完整显示查询结果
      Displays the query results in full.