需要帮助学习Couchbase Server C# [英] Need help in learning Couchbase Server C#

查看:105
本文介绍了需要帮助学习Couchbase Server C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是Couchbase Server c#.Net的新手,我需要帮助才能学习它。

我已经安装了安装文件。

我有一些疑问请帮我解决这个问题



1.能够在http:// localhost:8091 / index.html创建Bucket但是想知道如何在其中创建表格。

2.如何一次将数据插入一个或多个表格。

3.如何获取数据来自沙发基站服务器使用c#。



请提供一个链接,其中包含使用couchbase作为数据库的Web服务(C#)示例。



提前谢谢大家

Hi,
I am new to Couchbase Server c#.Net and i need help in learning it.
I have already installed the setup file.
I have some queries please help me to solve this

1.Able to create the Bucket in http://localhost:8091/index.html but want to know how to create the tables in it.
2.How to insert a data into a single or multiple tables at once.
3.How to get the data from the couchbase server using c#.

Please provide a link having web services (C#) example that uses couchbase as a DB.

Thank you all in advance

推荐答案

这是一个快速答案论坛,听起来你需要一个教程。



Couchbase有一整套文档 [ ^ ]其中包括First App漫游和开发者论坛。



以上链接应该是您的起点。如果遇到特定问题请回来我们会尝试帮助
This is a Quick Answers forum and it sounds like you need a tutorial.

Couchbase has a full set of documentation[^] which includes First App walk through and a Developer forum.

The above link should be your starting point. Do come back if you hit a specific problem and we will try to help


忘记在桌面上创建主要索引



使用GSI创建主要索引`Employee-index` ON` Employee`;





Forgot to create primary index on the table

CREATE PRIMARY INDEX `Employee-index` ON `Employee` USING GSI;


var query =new QueryRequest("SELECT * FROM `Employee`");
var data = ClusterHelper
        .GetBucket(CouchbaseConfigHelper.Instance.Bucket)
        .Query<dynamic>(query)
        .Rows;


这篇关于需要帮助学习Couchbase Server C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆