DB_common::provides()

DB_common::provides() -- Checks if the DBMS supports a particular feature

Synopsis

boolean provides (string $feature)

Opis

Checks if a feature is available for the chosen database type.

Parametr

string $feature

the feature to check

Zwracana wartość

boolean - TRUE if the feature is supported

Uwagi

Ta funkcja nie może być wywołana statycznie.

Ostrzeżenie

The provided information are only hints. Check the documentation of your database system for the real supported features. I.e. MySQL supports transactions, but not for every table type.

Przykład