Joe Morris
Posts: 0
Joined: Fri Sep 18, 2015 10:23 pm

api express does not recognize uuid fields as keys

We use UUID generator to create our keys. API express does not seem to recognize those as key fields.

Joe Morris
Posts: 0
Joined: Fri Sep 18, 2015 10:23 pm

api express does not recognize uuid fields as keys

emThis reply was created from a merged topic originally titled api express and views./em

It seems that api express does not recognize views. Yes, a question in the form of a statement. :)

Joe Morris
Posts: 0
Joined: Fri Sep 18, 2015 10:23 pm

api express does not recognize uuid fields as keys

Interesting, I do not understand why my question about "views" was merged into my question about "UUID key fields"

Oh well, I hope someone has some answers. :)

Thanks

Joe

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

api express does not recognize uuid fields as keys

Hi Joe - I've just put this in one place - we'll forward your questions to our API Express team. Thanks.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

api express does not recognize uuid fields as keys

Hi Joe,

Regarding question about views, yes, there is no possibility to create model based on view. Because view implies SQL request which can combine data from few tables.

As to UUID field, if it's marked as primary key you can create a model, if not- then you cannot.

Joe Morris
Posts: 0
Joined: Fri Sep 18, 2015 10:23 pm

api express does not recognize uuid fields as keys

The UUID fields are set up as primary keys.

When creating the model in API Express the field type of the tables comes up UNKNOWN so I am unable to identify it as the key.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

api express does not recognize uuid fields as keys

Could you please show us your implementation with screenshots?

Joe Morris
Posts: 0
Joined: Fri Sep 18, 2015 10:23 pm

api express does not recognize uuid fields as keys

Here is an image from pgAdmin of one of the tables.

Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

api express does not recognize uuid fields as keys

Hello Joe,

We have checked and unfortunately we do not support uuid generator now.
We have added this to our to-do list, but this will take time. Please stay tuned.

Return to “Issues”