Skip to content

💡 Add options set for auto-generated column values #461

@roxblnfk

Description

@roxblnfk

I have an idea!

Currently, the ORM does not know which values need to be obtained during insertion, whether the PK is auto-generated (auto-increment), whether there are fields defined as serial in the database, or whether there are fields generated on the PHP side before insertion/update into the database (UUID, CreatedAt, UpdatedAt behaviors).

It is necessary to add a directive to the schema that will list the fields that are automatically generated. This will help to resolve the following issues:
#321
cycle/database#156 (comment)
https://discord.com/channels/538114875570913290/1200704658063233034

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Released

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions