Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mysql json array contains

  JSON_CONTAINS('[1,2,3,4,5]','7','$') Returns: 0
  JSON_CONTAINS('[1,2,3,4,5]','1','$') Returns: 1
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #json #array
ADD COMMENT
Topic
Name
8+7 =