mysql_xdevapi\Collection
PHP Manual

Collection::getSchema

(No version information available, might only be in Git)

Collection::getSchemaGet schema object

Description

public Schema Object mysql_xdevapi\Collection::getSchema ( void )

Retrieve the schema object that contains the collection.

Parameters

This function has no parameters.

Return Values

The schema object on success, or NULL if the object cannot be retrieved for the given collection.

Examples

Example #1 mysql_xdevapi\Collection::getSchema() example

<?php

$schema 
$collection->getSchema();

?>

mysql_xdevapi\Collection
PHP Manual