This file contains hidden or 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
#!/bin/bash | |
# TO CONFIGURE | |
DRUSH='/usr/local/bin/drush' | |
DUMP_SUBFOLDER='dumps' | |
DUMP_NAME=$1 | |
DRUPAL_ROOT=`$DRUSH st drupal_root --format=list` | |
DRUPAL_CONFIG=`$DRUSH st active_config_directory_path --format=list` | |
DUMP_DIR="$DRUPAL_ROOT/$DUMP_SUBFOLDER/$DUMP_NAME" |
This file contains hidden or 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
Candidate index on node__body : entity_id, deleted, langcode | |
SELECT node_field_data.created AS node_field_data_created, node_field_data.nid AS nid | |
FROM node_field_data node_field_data | |
LEFT JOIN node__body node__body ON node_field_data.nid = node__body.entity_id | |
AND ( | |
node__body.deleted = '0' | |
AND node__body.langcode = node_field_data.langcode | |
) | |
WHERE ( |
This file contains hidden or 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 | |
// composer require guzzlehttp/guzzle | |
include ('./vendor/autoload.php'); | |
use GuzzleHttp\Client; | |
use GuzzleHttp\Promise; | |
use GuzzleHttp\Psr7\Request; | |
$promises = [ |
This file contains hidden or 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 | |
// composer require guzzlehttp/guzzle | |
include ('./vendor/autoload.php'); | |
use GuzzleHttp\Client; | |
use GuzzleHttp\Promise; | |
use GuzzleHttp\Psr7\Request; | |
$client = new DomainClient(new Client()); |