GithubHelp home page GithubHelp logo

数据模型关联-"指定关联模型的选取字段"和"按关联模型的字段查询条件" 查询条件均未生效 about yao HOT 5 CLOSED

yaoapp avatar yaoapp commented on August 25, 2024
数据模型关联-"指定关联模型的选取字段"和"按关联模型的字段查询条件" 查询条件均未生效

from yao.

Comments (5)

liushuainice avatar liushuainice commented on August 25, 2024

image

hasOne和hasMany都照着测试了,关联查询和嵌套查询,条件好像都没有生效

from yao.

trheyi avatar trheyi commented on August 25, 2024

文档稍后修正.

yao run models.user.Find 1 '::{"withs":{ "supplier": { "query":{"select":["name"] }} }}'

from yao.

liushuainice avatar liushuainice commented on August 25, 2024

测试指令没有问题

from yao.

trheyi avatar trheyi commented on August 25, 2024

@liushuainice 嵌套查询 条件需要加在query里 ,文档相对滞后,稍晚些更新文档,并增加更多关联查询例子。
所以你的问题解决了吗?

from yao.

liushuainice avatar liushuainice commented on August 25, 2024

@trheyi 解决

from yao.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.