Repository navigation
File Storage, Multi-Schema Writes & Row Decoding Fixes - #65
Merged
Merged
Conversation
…nMemoryStorage, and FieldFile
…efore_save, after_delete)
…mp decode for PostgreSQL
…a introspection on PostgreSQL
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.
Summary
Add pluggable file storage with
FileField/ImageField, extend multi-schema support to write operations, and fix row decoding for PostgreSQL.File Storage
Storagetrait (Rust) / ABC (Python) withLocalStorage,InMemoryStorageFileField/ImageField: staging on assign, commit onsave(), cleanup ondelete()FieldFilevalue object wrapping stored filename withread(),delete(),url,size[storage]block inryx.toml+RYX_STORAGE_*env varsMulti-Schema Write Path
bulk_insert,bulk_update,bulk_deleteacceptschemaparameter across all backendsModel.save()andModel.delete()propagate schema from instance orMeta.schemaManager.schema()andQuerySet.schema()chain correctly through CRUDInsertBuilder.schema()for Rust APIRow Decoding Fixes
i64 → i32 → f64(handles int4/int8/float PKs from PostgreSQL)decode_timestamp()triesNaiveDateTimebeforeStringfallback::serialcast on INSERTMigration Fixes
_render_default()properly converts Python defaults to SQL literals (True→TRUE, strings → escaped)UUID auto_create) excluded from SQL DEFAULT expressionsTests
Docs
file-storage.mdx: complete guide (backends, config, S3 example)postgres-multi-schema.mdx: new "Writing Data" sectionfield-reference.mdx:FileFieldandImageFieldentries