Comments (5)
thx for reporting, I need to check it @SkaLe3
from tinyorm.
It selects that detach(bool touch = true)
overload this is normal, it's c++ thing, I will have to figure out something about this, maybe rename it to detachAll(bool touch = true)
or something.
For now, the best thing you can do is call like artist->songs()->detach(QVariant(song_id), false);
.
from tinyorm.
That makes sense, thank you!
from tinyorm.
This is the reason why it is happening Boolean conversions
from tinyorm.
I renamed it to detachAll(bool)
here and also added some functional tests here. I also merged it into the main branch.
from tinyorm.
Related Issues (20)
- compilation error HOT 6
- Tests don't compile if ORM is disabled HOT 3
- Aggressive "warnings" flags exported by the TinyOrm::TinyOrm target HOT 4
- Tom application referenced in TinyORM: Getting Started but not getting installed HOT 4
- Assertive TinyOrmConfig.cmake breaks static builds HOT 9
- Insufficiently escaped comment in tinytypes.hpp HOT 2
- VCPKG misplaces debug target export file HOT 2
- Support for Mac OS X, *BSD, and other libc++ environment HOT 3
- VCPKG upstream integration HOT 23
- VCPKG installs header files redundandly HOT 1
- [cmake] Installing mdx documentation HOT 8
- Tag the releases HOT 4
- GitHub Actions ubuntu compilation failure HOT 1
- redefinition of ‘bool __tls_guard’ in orm/tiny/concerns/hasattributes.hpp:412 HOT 1
- Add interface wrapper for CREATE IF NOT EXISTS HOT 2
- Classify Logs HOT 1
- DB::beginTransaction assert()-ing HOT 1
- Column and Table alias assigning HOT 4
- Model implementing belongsToMany not compiling HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tinyorm.