Skip to content

Instantly share code, notes, and snippets.

@risent
Created January 2, 2016 08:24
Show Gist options
  • Save risent/90ac53bc87fa9a3a9335 to your computer and use it in GitHub Desktop.
Save risent/90ac53bc87fa9a3a9335 to your computer and use it in GitHub Desktop.
update hstore field with function
update store_product set attributes=attributes || hstore('详细参数', replace(attributes->'详细参数', '\', '')) where id=272609;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment