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

Giving two types to a model #118

Open
jnaoe opened this issue Aug 13, 2016 · 4 comments
Open

Giving two types to a model #118

jnaoe opened this issue Aug 13, 2016 · 4 comments

Comments

@jnaoe
Copy link

jnaoe commented Aug 13, 2016

Hi.

Is there a way to give two types at the model creation, or even after, without making a query?

Thanks

@jnaoe jnaoe changed the title Giving to type to a model Giving to type two a model Aug 13, 2016
@jnaoe jnaoe changed the title Giving to type two a model Giving two types two a mode Aug 21, 2016
@jnaoe jnaoe changed the title Giving two types two a mode Giving two types to a model Aug 21, 2016
@StefanoDeVuono
Copy link

I'm working on a branch right now that does just that, you pass a string or an array in as type. If you pass a string it stores it as an array. I changed type to types. Methods other than create use types[0] to, for example, generate names (aliases) when doing queries. Still a work in progress; looks doable.

@jnaoe
Copy link
Author

jnaoe commented Sep 9, 2016

Wonderful.
Keep the good work!

@Bernix01
Copy link

Bernix01 commented Mar 1, 2017

any update on this?

@jonpacker
Copy link
Member

I'm not working on this in the main repo, so any update would have to come from @StefanoDeVuono.

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

No branches or pull requests

4 participants