Comments (3)
@jacksongross Thanks for pointing out all the issues 👍
Migrations
fields like created_at
and updated_at
are often used by everyone but soft deletes is not something everyone needs. It's true that you can switch it on or off from your models, but people prefer keeping their tables clean by not adding unnecessary fields.
Using Fetch
fetch
is indeed required and here's why
All methods on query chain are chainable which means you can add as many where
clauses or orderBy
etc, so Lucid needs to know when you want to end that query chain. This is where fetch
comes into the picture. It does everything required to make sure soft_deletes
, mutators
etc are called and makes final result out of it.
Always make sure to use fetch
.
Documentation
I am going to update docs and will improve them to have better documentation for every skill level. As i have a huge task list for v2
you may not see much improvement in docs as of now. But i will fix these typos.
from core.
Fixed docs , let me know if you find any other issues 👍
from core.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from core.
Related Issues (20)
- Kit doesn't taken in count by creating a new project with a project name HOT 3
- Adonis mail + node ace commands don't work HOT 3
- Support for yarn@berry HOT 12
- Hashing HOT 5
- Feature - Vine and request HOT 5
- Broken Installation of the Slim Starter Kit. HOT 6
- Bun support for ace add
- Install version 5 of Adonis in node 18 e 20 HOT 1
- Startup project error - mysql version
- The requested module 'node:module' does not provide an export named 'register' Error HOT 1
- Error: "Top-level await is not available in the configured target environment" HOT 1
- Undefined `@adonisjs/lucid/services/db` in commands HOT 2
- JAPA does not make correct API calls, unpredictably HOT 5
- Build Error HOT 5
- Env with special characters HOT 2
- ReferenceError: DateTime is not defined HOT 1
- Creating tests for commands cause "Error: ERR_PACKAGE_IMPORT_NOT_DEFINED #commands/greet" HOT 1
- Health checks cannot be performed as commands HOT 1
- Event object passed as object within object HOT 2
- Failed to load url inertia/app/ssr.tsx (resolved id: inertia/app/ssr.tsx). Does the file exist? HOT 2
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 core.