phpcassa 架构
create column family PwdUrl with
default_validation_class=UTF8Type and key_validation_class=UTF8Type and
comparator =UTF8Type and
column_metadata = [ {
column_name:createdAt,
validation_class:UTF8Type,
index_type: KEYS
},{
column_name:expireAt,
validation_class:UTF8Type,
index_type: KEYS}
]
这是我需要设置的架构。可以使用 phpcassa 来做到这一点吗?如果没有,还有什么其他选择?
create column family PwdUrl with
default_validation_class=UTF8Type and key_validation_class=UTF8Type and
comparator =UTF8Type and
column_metadata = [ {
column_name:createdAt,
validation_class:UTF8Type,
index_type: KEYS
},{
column_name:expireAt,
validation_class:UTF8Type,
index_type: KEYS}
]
This is the schema I need to set up. Is it possible to do this using phpcassa? If not, what other options are there?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您只需使用 phpcassa 即可做到这一点。您将使用 SystemManager 类。这是一个例子:
Yes, you can do this with just phpcassa. You'll use the SystemManager class. Here's an example: