drizzlekit
No long description provided.
Installation
dagger install github.com/fluent-ci-templates/drizzlekit-pipeline@08c2b974f0b6db2e4dcedabdc90489392d816105
Entrypoint
Return Type
Drizzlekit
Example
dagger -m github.com/fluent-ci-templates/drizzlekit-pipeline@08c2b974f0b6db2e4dcedabdc90489392d816105 call \
func (m *myModule) example() *Drizzlekit {
return dag.
Drizzlekit()
}
@function
def example() -> dag.Drizzlekit:
return (
dag.drizzlekit()
)
@func()
example(): Drizzlekit {
return dag
.drizzlekit()
}
Types
Drizzlekit 🔗
push() 🔗
Apply schema changes
Return Type
String !
Arguments
Name | Type | Default Value | Description |
---|---|---|---|
src | Directory | - | No description provided |
databaseUrl | Secret ! | - | No description provided |
tursoAuthToken | Secret | - | No description provided |
Example
dagger -m github.com/fluent-ci-templates/drizzlekit-pipeline@08c2b974f0b6db2e4dcedabdc90489392d816105 call \
push --database-url env:MYSECRET
func (m *myModule) example(ctx context.Context, databaseUrl *Secret) string {
return dag.
Drizzlekit().
Push(ctxdatabaseUrl)
}
@function
async def example(database_url: dagger.Secret) -> str:
return await (
dag.drizzlekit()
.push(database_url)
)
@func()
async example(databaseUrl: Secret): Promise<string> {
return dag
.drizzlekit()
.push(databaseUrl)
}