Skip to content
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

DBField Documentation correction #9531

Merged
merged 1 commit into from
Jun 30, 2020

Conversation

alessandromarotta
Copy link

Hello,
the method requiredField in the line 40 of the API documentation doesn't exist in the class DB.

I think that it should be DB::require_field($this->tableName, $this->name, "blob");

Copy link
Member

@emteknetnz emteknetnz left a comment

Choose a reason for hiding this comment

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

Yes that's correct - https://github.com/silverstripe/silverstripe-framework/blob/4/src/ORM/DB.php#L597

Thanks for the pull-request, I'll merge this

@emteknetnz emteknetnz merged commit 16914bf into silverstripe:4 Jun 30, 2020
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.

None yet

2 participants