If you are using JavaScript, make sure that any variables that cross the PHP- to-JavaScript boundary are passed in the scope field of MongoCode, not interpolated into the JavaScript string.
As you can see in this code sample, we use V8 types to specify a JavaScript string.
Comme vous pouvez le constater dans cet exemple de code, nous utilisons des types V8 pour spécifier une chaîne de caractère JavaScript.
An object property name can be any valid JavaScript string, or anything that can be converted to a string, including the empty string.
Le nom d'une propriété d'un objet peut être n'importe quelle chaîne JavaScript valide (ou n'importe quelle valeur qui puisse être convertie en une chaîne de caractères), y compris la chaîne vide.
However, this doesn't give us a JavaScript String as you might expect, but an instance of a native class, NSURL, that has a few methods on it that make manipulating URL strings easier.
Cependant, cela ne nous donne pas un JavaScript String comme on pourrait s'y attendre, mais une instance d'une classe native, NSURL qui comporte quelques méthodes permettant de manipuler des chaînes d'URL
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.