pomm-project / pomm-bundle

Pomm2 bundle for Symfony
81 stars 31 forks source link

Custom converter #99

Closed ghost closed 6 years ago

ghost commented 6 years ago

Here is my problem, I created a table with a field having an ENUM type. When I try to insert my object into a database via the insertOne method of the model manager. I have to create my own converter but what should I put in it?

Here is an example of the created type: CREATE TYPE my_type AS ENUM ('type1', 'type2' type3 ');

chanmix51 commented 6 years ago

This place is intended for bug reports, not for support. For free support assistance, would you please mind asking your question on stack-overflow? Be sure to tag your question with the pomm tag. Thank you.