mix ash_scylla.new_template (AshScylla v0.10.0)

Copy Markdown View Source

Generates an Ash Resource template backed by AshScylla.

Usage

mix ash_scylla.new_template AddTableUser name:string, email:string

The task writes a resource file under lib/<app>/resources/<resource>.ex. It creates a starter template that you can customize with primary keys, actions, repo, and ScyllaDB-specific options.

Examples

mix ash_scylla.new_template User user_id:uuid, name:string, age:int
mix ash_scylla.new_template AddTableUser name:string, email:string