public static function get_PgLargeObject( &$value, Base $entity )
    {
        if( $value instanceof PgLargeObject ){
            return $value->isDeleted()
                ? null
                : $value;
        }
        if( is_intish($value) ) {
            $value = new Oid( $value, $entity->r()->db );
        }
        return !is_null($value)
            ? new PgLargeObject( $value )
            : null;
    }
public static function get_PgLargeObject( &$value, Base $entity )
    {
        if( $value instanceof PgLargeObject ){
            return $value->isDeleted()
                ? null
                : $value;
        }
        if( is_intish($value) ) {
            $value = new Oid( $value, $entity->r()->db );
        }
        return !is_null($value)
            ? new PgLargeObject( $value )
            : null;
    }
public static function get_PgLargeObject ( & $ value , Base $ entity ) { if ( $ value instanceof PgLargeObject ) { return $ value -> isDeleted ( ) ? null : $ value ; } if ( is_intish ( $ value ) ) { $ value = new Oid ( $ value , $ entity -> r ( ) -> db ) ; } return ! is_null ( $ value ) ? new PgLargeObject ( $ value ) : null ; }
Get entity PgLargeObject
@param PgLargeObject $value
@return mixed
Get entity PgLargeObject