What is the best way to declare global variables in Vue.js?

Warning: The following answer is using Vue 1.x. The twoWay data mutation is removed from Vue 2.x (fortunately!). In case of “global” variables—that are attached to the global object, which is the window object in web browsers—the most reliable way to declare the variable is to set it on the global object explicitly: However form Vue’s hierarchy perspective … Read more

‘NOT LIKE’ in an SQL query

You have missed out the field name id in the second NOT LIKE. Try: The AND in the where clause joins 2 full condition expressions such as id NOT LIKE ‘1%’ and can’t be used to list multiple values that the id is ‘not like’.