This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
table_schema as `Database`, | |
table_name AS `Table`, | |
round(((data_length + index_length) / 1024 / 1024), 2) `Size in MB` | |
FROM information_schema.TABLES | |
WHERE table_schema = 'akeneo_pim' | |
ORDER BY (data_length + index_length) DESC limit 10; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Akeneo\Pim\ApiClient\AkeneoPimClientBuilder; | |
require __DIR__.'/vendor/autoload.php'; | |
$clientBuilder = new AkeneoPimClientBuilder('http://localhost:8082'); | |
$client = $clientBuilder->buildAuthenticatedByPassword( | |
'1_1ayksjx0jl8kgssgg8404cgco0o00g000g0ksg8sk0sc08ggk8', | |
'19rkc52hueqs0sg40kkgwco4c4kgwck4ocowokwc08cc8sosc8', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class ScalarValue | |
{ | |
/** @var string */ | |
protected $data; | |
protected $channel; | |
protected $locale; | |
protected $attribute; |