Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Show warning message if none of one queries exists #736

Unanswered
objque asked this question in Q&A
Discussion options

Hello, thanks for great library!
Recently I started adding library to my pet project.
I created a config file; migrations, db and queries dirs.
Then I added several files with queries to tables and called the sql generate.
The CLI finished without any warning and errors; but successfully gens code for all models, but did not generate methods for working with the base.

For a long time I could not understand what the error was until I copied the example from the readme.
The problem was the forgotten space between the hyphens and the keyword name: (--name instead of -- name)

How do you think will be usefull to log warning message if files with qeries were found, but nothing was generated for them?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #736 on October 19, 2020 06:39.

AltStyle によって変換されたページ (->オリジナル) /