Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Google
Cloud
Datastore
DatastoreClient
blob
Google\Cloud\Datastore\DatastoreClient::blob PHP Method
DatastoreClient Class Documentation
Datei anzeigen
Open project: GoogleCloudPlatform/gcloud-php
blob()
public
method
Example:
$blob = $datastore->blob('hello world');
Blobs can be used to store binary data $blob = $datastore->blob(file_get_contents(__DIR__ .'/family-photo.jpg'));
public
blob
(
string
| resource | StreamInterface
$value
) :
Blob
$value
string
| resource | StreamInterface
return
Blob
public function blob($value) { return new Blob($value); }
DatastoreClient
__construct
allocateId
allocateIds
blob
delete
deleteBatch
entity
geoPoint
gqlQuery
insert
insertBatch
int64
key
keys
lookup
lookupBatch
parseSingleMutationResult
query
runQuery
transaction
update
updateBatch
upsert
upsertBatch