2024-07-21 01:47:21 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @author Daniel J. Summers <daniel@bitbadger.solutions>
|
|
|
|
* @license MIT
|
|
|
|
*/
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
2024-06-21 13:46:41 +00:00
|
|
|
|
|
|
|
namespace BitBadger\PDODocument;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* The type of index to generate for the document
|
|
|
|
*/
|
|
|
|
enum DocumentIndex
|
|
|
|
{
|
|
|
|
/** A GIN index with standard operations (all operators supported) */
|
|
|
|
case Full;
|
|
|
|
|
|
|
|
/** A GIN index with JSONPath operations (optimized for @>, @?, @@ operators) */
|
|
|
|
case Optimized;
|
|
|
|
}
|