docs: Rework the Data & the database section for 4.0#696
Open
developerjamiu wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Section-by-section deep rework of the Concepts area, part 3 of the series (after Server fundamentals in #687 and Endpoints & APIs in #693). This pass covers the Data & the database section: 22 pages across the models and database subgroups, plus the pages they touch.
Structure
Content highlights
upsertRow/upsertwithconflictColumns,updateColumns,updateWhere,noReturn),dynamicmodel fields,DatabaseResult,databaseInterceptor,Transaction.cancel(), thetailkeyword,Uri/BigIntdefault values, the client-migrations pipeline, and a wire-format table for the built-in types.--force/--emptyconflation on migrations, therepair-migrationdirectory name, a non-compiling filtering example (Dart operator precedence), the comparison-operator type list (String and UuidValue were missing), the inheritance table rule (only an ancestor with a table blocks a child; sibling branches may each define one), future-call compatibility rules rewritten around the real API, and the modules relation page rebuilt onserverpod_auth_core.like/ilikecase rules, ignored isolation levels, row locking, vector/geography limits, and the simple-query methods.databasekeyword, session lifecycle withclose(), on-device migrations withrunMigrations/isDebugMode, and a gathered list of SQLite differences.database,serializationDataType,column,operatorClass, andtail, and corrected theimmutable,sealed,default,defaultModel, anduniquerows against the CLI validators.Every new technical claim was verified against the framework at 4.0.0-beta.0, and the upsert, cursor-pagination, and raw-access examples were run against a real project (12/12 tests green). Build passes with no broken links or anchors.
Advances #504.