Question: how to do returning * with save?
See original GitHub issueIs there a way to do:
Model.forge({ params }).save(null, { returning: "*" })
Which would be like:
insert into models (keys) values (values) returning *
I can’t see a way to map options from model.save to knex.insert.
Thanks for taking a look.
Issue Analytics
- State:
- Created 8 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Will forms save responses so that a student may return to it the ...
Just circling back on this thread to let you know that you can now save your response in a form and submit later,...
Read more >How to write a return policy: The 5 questions you need to answer
How to write a return policy: The 5 questions you need to answer · 1. How long do I have? · 2. Where...
Read more >Why use returned instance after save() on Spring Data JPA ...
I have a question here, I am saving an entity using save , which has few null columns. But those columns have default...
Read more >Online Return Tips: How to Return Online Orders | FedEx
If you aren't sure what the store needs to process your return, call or message to ask. Make sure you ship the item...
Read more >How To Write a Return Policy (+ Free Template) (2023) - Shopify
Refund the customer. Once the item is returned, merchants can refund the customer to their original payment method with the click of a...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah, went with using Knex directly and removed Bookshelf from the project.
Closing this due to lack of activity and because there are already other issues covering this functionality.