-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation, examples and spell/grammar checking #8
Comments
If you work with dates (like time.Time) from reform, you have to add in your model method Maybe it is possible to add some helpful tips for different data type to understand the best way? |
No, if your database driver is doing a sane thing. But yeah, this need to be documented. |
|
How can I use multiple conditions?
Allows me to select by id, let's say I want to select by 'id' and 'name' or any other field. What would my code look like? |
Various Find methods accept a single column only. More complex conditions are possible with Select methods: persons, err := DB.SelectAllFrom(PersonTable, "WHERE id = ? AND name = ?", id, name) |
What part of reform needs more documentation? Leave a comment.
Where will example help? Leave a comment.
Found a typo or grammar error? You can fix it right on GitHub.
We can use GitHub wiki, GitHub Pages, Hugo or GitBook for documentation. GORM docs is a good example. Another one – XORM.
We can also use https://asciinema.org for simple demo in README.
The text was updated successfully, but these errors were encountered: