robotoworks / mechanoid

Eclipse plugin providing a set of DSL's for the rapid development of Android apps
58 stars 26 forks source link

[MECHDB] Specified additional functions when infering type of column #217

Closed groupsky closed 10 years ago

groupsky commented 10 years ago

When inferring type of column default is TEXT. I added the core and aggregate functions for which types is known so views like select sum(val) as sum will not generate the column sum as TEXT, but as FLOAT.

I haven't tried the code and haven't uploaded the generated ModelUtil.java file.

fluxtah commented 10 years ago

Cheers, that is great I will merge and test it later when I am at my main machine, thanks for the effort, I currently do not have a rigid acceptance process of pull requests (life on the edge I know!) so if it works I will produce a new build when I get a moment.

I need to get a build server setup so I can make this process automatic but that will have to wait till I have more time

Anyway thanks and look forward to checking it out! :)