Page 1 of 2

api express does not recognize uuid fields as keys

Posted: Fri Sep 18, 2015 10:23 pm
by Joe Morris

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


api express does not recognize uuid fields as keys

Posted: Fri Sep 18, 2015 10:52 pm
by Joe Morris

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. :)


api express does not recognize uuid fields as keys

Posted: Fri Sep 18, 2015 11:04 pm
by Joe Morris

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


api express does not recognize uuid fields as keys

Posted: Fri Sep 18, 2015 11:06 pm
by Illya Stepanov

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


api express does not recognize uuid fields as keys

Posted: Fri Sep 18, 2015 11:15 pm
by Joe Morris

Ah, thanks. :)


api express does not recognize uuid fields as keys

Posted: Tue Sep 22, 2015 5:22 am
by Alena Prykhodko

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.


api express does not recognize uuid fields as keys

Posted: Tue Sep 22, 2015 5:01 pm
by Joe Morris

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.


api express does not recognize uuid fields as keys

Posted: Tue Sep 22, 2015 7:34 pm
by Illya Stepanov

Could you please show us your implementation with screenshots?


api express does not recognize uuid fields as keys

Posted: Wed Sep 23, 2015 2:56 pm
by Joe Morris

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

Image


api express does not recognize uuid fields as keys

Posted: Mon Oct 05, 2015 10:42 am
by Alena Prykhodko

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.