Re:Show HN: XgeneCloud – Instant REST and GraphQL APIs on An...
by xgenecloud on Tuesday June 09, 2020 @03:26PM
(#23469904)
>> Is there any way to exclude certain tables or customize what is generated in any way?
Yes, for this you can create the project from our GUI Desktop tool to your existing database.
Then from CLI you can just create database models with below
xc gen.apis --model
However, I see there is an issue with our production application and workflow.I 've created an issue to track this.
https://github.com/xgenecloud/xgenecloud/issues/3
>> Field "UagFbDataAggregate.min" can only be defined once
May be this happens when there is clashing column name with an existing column in table.
Is there any way to exclude certain tables or customize what is generated in any way? It seems like it just creates a model for every single table in the database, no matter what. I would love to be able to customize the config to exclude certain tables.
As a side note: I was able to get the GraphQL server working for a small mysql database, but when I tried to hook it up to a larger database, it gave me this error: Error: Field "UagFbDataAggregate.min" can only be defined once.