Forum BigDB Spaces in property names

Discussion and help relating to the PlayerIO database solution, BigDB.

Spaces in property names

Postby amein » December 19th, 2014, 5:19 pm

Hi,

I created some code which has populated a table with a lot of objects which have spaces in the names of the properties. I realise this was a naive thing to do and now I'm having difficulty creating an index using these properties. Is there a notation I can use which makes this possible?
amein
 
Posts: 1
Joined: October 14th, 2014, 12:10 pm

Re: Spaces in property names

Postby Guillaume » December 29th, 2014, 2:27 pm

Hello,

If you don't have too many different table, maybe the best option is to write a custom code only for updating your table, changing your Key's name ?

From my point of view, i would create a server side code, this way data will only loaded remotely in all cases, and this code would load all the data i need, then updating the key and saving.

But maybe there is a special notation in indexes for telling that you are using space ? Only YGN Team can know !
Guillaume
 
Posts: 277
Joined: March 28th, 2014, 1:59 am
Location: France

Re: Spaces in property names

Postby JimLion » December 30th, 2014, 4:51 pm

The simplest way would just be Pascal (camelCase) having them always be one word. Probably separating words with dashes would work too.
JimLion
 
Posts: 73
Joined: June 17th, 2014, 3:35 am


Return to BigDB



cron