Sign In Register

How can we help you today?

Start a new topic

Is there a startup script in cloud code?

I want to index my collections, and think that it would be best to put it in startup script, but I can't find one. Is RuntimeCollection.ensureIndex in an event script the best way to index something?

Best Answer

See here: Ensure Index


See here: Ensure Index

That will do, thanks.

Login to post a comment