from multiprocessing.pool import ThreadPool
TINYBLOB, BLOB, MEDIUMBLOB and LONGBLOB
A binary large object that can hold a variable amount of binary data. The sorting and comparison of the values for these objects is performed in case-sensitive manner.
TINYBLOB
A binary large object column with a maximum length of 255 (2^8 - 1) characters.
BLOB
A binary large object column with a maximum length of 65535 (2^16 - 1) characters.
MEDIUMBLOB
A binary large object column with a maximum length of 16777215 (2^24 - 1) characters.
LONGBLOB
A binary large object column with a maximum length of 4294967295 (2^32 - 1) characters.
string = 'foo.bar.test.ru'
length = len(string.split('.'))
print(length)
str
) Feed = {
TemplateGetAttachmentPost: function (postID) {
// returned deferred object
return $.ajax({
/* ... */
})
},
TemplateWallPost: function (AppendTo, data) {
/* ... */
Feed.TemplateGetAttachmentPost(data.postID)
// success
.done(function(data){
console.log(data);
})
// error
.fail(function(){
console.error(arguments)
})
/* ... */
}
}
DELETE
FROM
`oc_product`
WHERE
id IN (
SELECT
p.product_id
FROM
`oc_product` p
LEFT JOIN oc_product_description p2s ON (
p.product_id = p2s.product_id
)
LEFT JOIN oc_product_to_category p3s ON (
p.product_id = p3s.product_id
)
LEFT JOIN oc_category_description p4s ON (
p3s.category_id = p4s.category_id
)
LEFT JOIN oc_product_to_store p5s ON (
p.product_id = p5s.product_id
)
LEFT JOIN oc_product_to_layout p6s ON (
p.product_id = p6s.product_id
)
WHERE
p.manufacturer_id = '30'
)