Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4852664
PhabricatorCustomFieldNumericIndexStorage.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
871 B
Referenced Files
None
Subscribers
None
PhabricatorCustomFieldNumericIndexStorage.php
View Options
<?php
abstract
class
PhabricatorCustomFieldNumericIndexStorage
extends
PhabricatorCustomFieldIndexStorage
{
protected
function
getConfiguration
(
)
{
return
array
(
self
::
CONFIG_COLUMN_SCHEMA
=>
array
(
'indexKey'
=>
'bytes12'
,
'indexValue'
=>
'sint64'
,
)
,
self
::
CONFIG_KEY_SCHEMA
=>
array
(
'key_join'
=>
array
(
'columns'
=>
array
(
'objectPHID'
,
'indexKey'
,
'indexValue'
)
,
)
,
'key_find'
=>
array
(
'columns'
=>
array
(
'indexKey'
,
'indexValue'
)
,
)
,
)
,
)
+
parent
::
getConfiguration
(
)
;
}
public
function
formatForInsert
(
AphrontDatabaseConnection
$conn
)
{
return
qsprintf
(
$conn
,
'(%s, %s, %d)'
,
$this
->
getObjectPHID
(
)
,
$this
->
getIndexKey
(
)
,
$this
->
getIndexValue
(
)
)
;
}
public
function
getIndexValueType
(
)
{
return
'int'
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, Jun 9, 06:46 (1 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1767764
Default Alt Text
PhabricatorCustomFieldNumericIndexStorage.php (871 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment