Skip to content

Conversation

kyleconroy
Copy link
Collaborator

@kyleconroy kyleconroy commented Oct 20, 2023

Add a new createdb subcommand to sqlc. This creates an ephemeral database and prints the database URL for that database.

@kyleconroy kyleconroy marked this pull request as ready for review October 20, 2023 19:49
},
}

func CreateDB(ctx context.Context, dir, filename, name string, o *Options) error {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

name -> qs

@kyleconroy kyleconroy merged commit 01947a6 into main Oct 20, 2023
@kyleconroy kyleconroy deleted the kyle/cli-createdb branch October 20, 2023 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants