# Query: travel-sample # Flags: WordMatch RegExp # Including: ./docs-server # Excluding: *.html,*.json N1QL user-defined function pages Update example scope and collection names ("modes" and "train") modules/n1ql/pages/n1ql-language-reference/createfunction.adoc: 36: For example, when you call a global function `default:global()` which contains the keyspace reference `travel-sample`, the keyspace reference is always resolved within the context of the function to the `default:{backtick}travel-sample{backtick}` bucket. 41: For example, when you call a scope function `default:{backtick}travel-sample{backtick}.modes.scope()` which contains the keyspace reference `train`, the keyspace reference is always resolved within the context of the function to `default:{backtick}travel-sample{backtick}.modes.train`. 84: Similarly, to create a scope function in a particular scope, the function name must be a qualified identifier with the full path to a scope, such as `default:{backtick}travel-sample{backtick}.modes.func1`. 107: To distinguish between the field and the parameter, prefix the field with the keyspace name, for example `{backtick}travel-sample{backtick}.type`. 271: The following statement creates a function called `locations`, which selects name and address information from all documents of the specified type in the `travel-sample` keyspace. 277: FROM `travel-sample` Update example scope and collection names ("modes" and "train") modules/n1ql/pages/n1ql-language-reference/dropfunction.adoc: 33: Similarly, to delete a scope function in a particular scope, the function name must be a qualified identifier with the full path to a scope, such as `default:{backtick}travel-sample{backtick}.modes.func1`. Update example scope and collection names ("modes" and "train") modules/n1ql/pages/n1ql-language-reference/execfunction.adoc: 42: Similarly, to execute a scope function in a particular scope, the function name must be a qualified identifier with the full path to a scope, such as `default:{backtick}travel-sample{backtick}.modes.func1`. modules/n1ql/pages/n1ql-language-reference/userfun.adoc: 26: Similarly, to call a scope function in a particular scope, the function name must be a qualified identifier with the full path to a scope, such as `default:{backtick}travel-sample{backtick}.modes.func1`. 68: FROM `travel-sample` 103: The following statement creates a function called `locations`, which selects name and address information from all documents of the specified type in the `travel-sample` keyspace. 109: FROM `travel-sample`