Recommendation for Azure Cosmosdb Gremlin Fluent SDK - azure-cosmosdb

I started working with CosmosDb Graph and using the string based version. I tried a random fluent SDK but didn't work very well. Can someone recommend a fluent SDK?

Depending on which language you are using you will need to find the correct Gremlin Language Variant which you can find from the Tinkerpop Reference Documentation here: Tinkerpop Gremlin Language Variants

Related

Support for adding custom Gremlin DSL in AWS Neptune and Azure Cosmos DB?

I am wondering if AWS Neptune and Azure Cosmos DB support adding custom Gremlin DSLs?
Also, do they support inline lambdas?
Thank you.
Custom DSLs are really just wrappers you build around existing Gremlin steps. As such, these are evaluated client side, and therefore should work just fine if you are using Amazon Neptune as your graph database. You can just follow the examples for whichever Gremlin client driver you are using such as these instructions for the Gremlin Java client.
Amazon Neptune does not support in-line code (closures/lambdas). Looking at their documentation I do not believe CosmosDB supports lambdas/closures either.

SQLite-Net-Pcl in Xamarin.Forms

I am trying to learn SQLite and its usage from Xamarin.Forms. I found that it is recommended to install Sqlite-net-pcl as NuGet package and make use of it to create, open, modify a database. Up to that point everything is fine. However, I am struggling to find more details about Sqlite-net-pcl on the web. It seems, a comprehensive documentation is not available for this library. And this reality brought some questions to my mind which I believe I could get answer from Stackoverflow seniors:
1-If there is no documentation of a library which you are trying to use, what is the best way to learn it quickly? Trial&Error? In that case full class hierarchy would be needed, I think.
2-As I understood, Sqlite-net-pcl is a partial implementation of Sqlite. For instance, in the documentation of Sqlite, it is said, Foreign key is supported but should be enabled. But, I couldnt find this attribute in Sqlite-net-Pcl when I used the ObjectBrowser tool of VisualStudio.
3-Considering, SQLite have better support, If I want to use SQLite directly in xamarin.forms(c#) instead of its derived versions(Sqlite-net-pcl) how can I achieve this?
It is preferable to use SQLite-net libraries. They are simply a wrapper around SQLite flow. You have everything that you need there. Also, if you want to use an ORM, you can also use EntityFrameworkCore via Microsoft.EntityFrameworkCore.Sqlite
Like it is said in the GitHub repository:
SQLite-net is an open source, minimal library to allow .NET, .NET Core, and Mono applications to store data in SQLite 3 databases. It was first designed to work with Xamarin.iOS, but has since grown up to work on all the platforms (Xamarin.*, .NET, UWP, Azure, etc.).
About the Foreign Key - there isn't any constraints. You can use it freely without any "enabling".
There are some other options like Microsoft.Data.SQLite & System.Data.SQLite, but I haven't tried them with Xamarin and, if they work, I don't think that they will have better support for Mono, like the one that you have with SQLite-net. The latter is also updated constantly.
Here is the official tutorial from Microsoft about using sqlite-net-pcl
If you want to use an ORM, you can follow this article from the official docs on how to setup the SQLite libraries, together with EFCore packages, migrations, etc.
Should you choose to use EFCore, please consider the Migration Limitations.

SQLite support in Dart command-line application?

I need to manage (SELECT, INSERT, UPDATE, etc.) a simple SQLite database through Dart code, but all the SQLite connector libraries I could find are very outdated. I've searched for a solution and haven't seen anything compatible with Dart 2. Can anyone think of an alternative way to do this?
Note: The application and database will eventually be migrated server-side
with Azure.
Note: I am fairly new to working with SQL and RDBMS.
Thanks!
The sqlite package should provide what your need. It is pretty up-to-date including null-safety and recently updated.

Does Cosmos DB support Gremlin.net c# GLV?

I cannot find this information, and also I cannot find examples on how to use Gremlin.net c# GLV with a remote Cosmos DB graph. Someone knows anything about this? Thanks!
Currently CosmosDB does not support GLV's as they do not yet have Bytecode support. They have told me that they are working on it and expect it to be available soon.

Examples of Gremlin queries with Neo4jClient

I am building an ASP.NET application with Neo4j database so I am using Neo4jClient. I want to execute Gremlin queries, but I haven't been able to find good examples of writing Gremlin queries with Neo4jClient and C#. Everything I find are Groovy examples with Gremlin console, so I would appreciate if someone could write an example of a basic query in C#, just so that I can figure out how this works.
Neo4jClient no longer supports gremlin queries, if you try to do anything with the .Gremlin bits you'll see they are all marked as Obsolete and are likely to be removed in the near future.
If you really need to see examples, there are a couple of questions on here which have valid Gremlin queries (for example: neo4j - Issue converting gremlin query to cypher) or you could clone the old bitbucket neo4jclient repo and look through the wiki (Gremlin Wiki History).
Having said that all the examples I see use client.RootNode as the base point - this is meaningless (as far as I know) for a Neo4j 2+ as RootNode doesn't exist - and I have no idea what will happen if you try to use it.
If you can I would look at Cypher it's much much nicer and works brilliantly via the client.

Resources