Add docs for MysqlFramework::Scripts::Table
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 45/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- mysql, ruby
- Domain
- databases, documentation
Research direction
Start by reading the README and the existing MysqlFramework::Scripts::Table implementation or usage, then add the provided UsersTable example in the README. Done means the README documents how to define a table, its columns and values, and register it, with the example remaining valid Ruby.
Written by the indexing model from the issue text.
Description
Need to add usage examples for MysqlFramework::Scripts::Table in README file.
e.g.
class UsersTable
extend MysqlFramework::Scripts::Table
NAME = 'users'
COLUMNS = [
:id,
:name,
:email,
:created_at,
:updated_at
]
def self.column_names
COLUMNS.map { |c| "`#{NAME}`.`#{c}`" }.join(',')
end
def self.values
COLUMNS.map { |c| '?' }.join(',')
end
register_table NAME
end
- Dominant language
- Ruby
- Stars
- 2
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
erkamyaman/rust-anything#1381 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 83/100
TheOdinProject/curriculum#31596 ·
Maintainers usually reply within 1 day