Giter Club home page Giter Club logo

Comments (3)

nicolas-chaulet avatar nicolas-chaulet commented on June 16, 2024 1

Yes, I see what you mean, let me push a PR and you tell me what you think. I have had this use case in multiple instances where I want to load relationship data and you're write you can write the whole query but I felt like having that as an option in the get would make some of those situations a little cleaner

from basesqlmodel.

nicolas-chaulet avatar nicolas-chaulet commented on June 16, 2024

Scrap that, it was a mistake of my own, first question still stands!

* I struggle to have type hints working on vscode, is this normal?
  ![image](https://user-images.githubusercontent.com/3178237/149150105-5d8f6b80-c229-4ad3-b5ac-0ca32b8951ce.png)

from basesqlmodel.

Kludex avatar Kludex commented on June 16, 2024

Hmm... The way I think about the class I've defined in this package (Base) is not to be used in all possible cases. I believe it contains the most used operations. For complex cases, I usually make the query directly.

I guess your suggestion / question also implies changing other methods? If so, how can we change the implementation in a way that it maintains its simplicity? 🤔

from basesqlmodel.

Related Issues (1)

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.