Stacks Models

Use when working with data models in Stacks - the defineModel() API, model attributes with validation and factories, relationships (hasOne/hasMany/belongsTo/belongsToMany), traits (useAuth, useUuid, useTimestamps, useSearch, useApi, billable, taggable, categorizable, commentable, likeable, observe), computed properties (get/set), model generation, and the 50+ built-in framework models. Covers model definitions and storage/framework/defaults/app/Models/.

stacksjs Updated 638 repo stars
Social Card of Stacks

File contents

stacksjs/reportshq commit 1d29b5889b

Frequently asked questions

npx get-skill add stacksjs/stacks-models