©
Ce document utilise Manuel du site Web PHP chinois Libérer
(PECL tokyo_tyrant >= 0.1.0)
Provides an API to the table databases. A table database can be create using the following command: ttserver -port 1979 /tmp/tt_table.tct. In Tokyo Tyrant the table API is a schemaless database which can store arbitrary amount of key-value pairs under a single primary key.
$key
, mixed $increment
[, string $type
] )$keys
)$keys
)$key
, array $columns
)$key
, array $columns
)$key
, array $columns
)$keys
[, string $value
] )$key
, string $value
, int $width
)$column
, int $type
)$key
, number $increment
[, int $type
= 0
] )$host
[, int $port
= TokyoTyrant::RDBDEF_PORT
[, array $options
]] )$uri
)$host
[, int $port
= TokyoTyrant::RDBDEF_PORT
[, array $options
]]] )$path
)$name
, int $options
, string $key
, string $value
)$prefix
, int $max_recs
)$keys
)$keys
)$keys
[, string $value
= NULL
] )$keys
[, string $value
] )$keys
[, string $value
] )$keys
[, string $value
= NULL
] )$key
, string $value
, int $width
)$log_dir
, int $timestamp
[, bool $check_consistency
= true
] )$host
, int $port
, int $timestamp
[, bool $check_consistency
= true
] )$key
)$timeout
[, int $options
= TokyoTyrant::RDBT_RECON
] )