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

Unable to format with ObjectFormatter #515

Closed
Kitof opened this issue Jan 8, 2014 · 1 comment · Fixed by propelorm/propelorm.github.com#268
Closed

Unable to format with ObjectFormatter #515

Kitof opened this issue Jan 8, 2014 · 1 comment · Fixed by propelorm/propelorm.github.com#268

Comments

@Kitof
Copy link

Kitof commented Jan 8, 2014

I'm unable to reproduce this example :

http://propelorm.org/documentation/03-basic-crud.html#using-custom-sql

I found that I have to use ObjectFormatter instead, but i'm unable to call the format function according to the example. I've the following error :

Argument 1 passed to Propel\Runtime\Formatter\ObjectFormatter::format() must implement interface Propel\Runtime\DataFetcher\DataFetcherInterface

@marcj
Copy link
Member

marcj commented Jan 27, 2014

Yepp, the documentation seems to be outdated. We don't deal with PDOStatements directly anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants