Zendro-dev / graphql-server-model-codegen

Command line utility to auto-generate the structure files for a graphql server
MIT License
1 stars 2 forks source link

Foreign Key and field Arrays - How are they converted to strings? Are they sorted? #209

Open asishallab opened 2 years ago

asishallab commented 2 years ago

Hi there @wunderbarr and others! Constantin and I are using Zendro in a data-management project (Untwist) of the IBG-4. We are creating a database index on a foreign key array column to speed up lookup time. In this, we are wondering whether before saving foreign key arrays as String the array is sorted, so that identical arrays (mathematical sets) always yield the very same string? If not, we definitely should do this sorting before persisting the arrays. Thank you and Cheers!