修改密码

请输入密码
请输入密码 请输入8-64长度密码 和 email 地址不相同 至少包括数字、大写字母、小写字母、半角符号中的 3 个
请输入密码
提交

修改昵称

当前昵称:
提交

申请证书

证书详情

Please complete this required field.

  • Ultipa Graph V4

Standalone

Please complete this required field.

Please complete this required field.

服务器的MAC地址

Please complete this required field.

Please complete this required field.

取消
申请
ID
产品
状态
核数
申请天数
审批时间
过期时间
MAC地址
申请理由
审核信息
关闭
基础信息
  • 用户昵称:
  • 手机号:
  • 公司名称:
  • 公司邮箱:
  • 地区:
  • 语言:
修改密码
申请证书

当前未申请证书.

申请证书
Certificate Issued at Valid until Serial No. File
Serial No. Valid until File

Not having one? Apply now! >>>

ProductName CreateTime ID Price File
ProductName CreateTime ID Price File

No Invoice

搜索
    中文

      LIMIT 限长

      格式、参数

      LIMIT 可以将数据流中的前 n 行数据保留,将其余行舍弃。

      语法:

      • 格式:limit <number>
      • 参数:(见下表)
      • 受影响列:前一句产生的数据列及其所有同源列
      名称 类型 规范 描述
      <number> int32 ≥ -1 保留的行数,-1 时保留所有数据行

      详解

      find().nodes([1, 5]) as nodes
      n(nodes).e()[:2].n() as path
      limit 2
      return path
      

      上面 UQL 代码中的 LIMIT 子句将模板查询得到的路径的前 2 行保留:

      请通过以下 UQL 代码及图示对比 LIMIT 子句和链式命令参数 .limit() 的区别。

      find().nodes([1, 5]) as nodes
      n(nodes).e()[:2].n().limit(2) as path
      return path
      

      上面 UQL 代码中的 .limit() 参数将每次模板查询得到的路径的前 2 行保留,模板查询共执行了两次,结果共保留了 4 行:

      一般用法

      示例:查找向银行卡 CA029 转账过的所有银行卡,按余额降序排列,返回 10 条数据;即在这些银行卡中找到余额最大的 10 张

      n({_id == "CA029"}).le({@transfer}).n({@card} as n)
      with distinct (n)
      order by n.balance DESC
      return n{*} limit 10
      

      示例:查找 10 张向银行卡 CA029 转账过的银行卡,按照余额降序排列并返回

      n({_id == "CA029"}).le({@transfer}).n({@card} as n)
      with distinct (n)
      limit 10 return n{*}
      order by n.balance DESC
      
      请完成以下信息后可下载此书
      *
      公司名称不能为空
      *
      公司邮箱必须填写
      *
      你的名字必须填写
      *
      你的电话必须填写
      *
      你的电话必须填写