Derive Macro for rust
Hey folks, I'm Sevki, I'm new here and I've been working on a typedb macro, I've already posted it to the forums https://forum.typedb.com/t/derive-macro-for-rust/701 , like I said, I'm super new so if anyone wants to help me out I would really apprecitate it
typedb-examples/use-cases at master · ty...
@krishnan
Just chiming in on this example.
As a layman knowing nothing about how different components in biology are related to one another, I find it a bit hard to understand this domain....

Hi @krishnan
Hi @krishnan
Thank you for the help. I am revisiting your sample schema.
I understand the first part, and I rewrote it to the below working query....
Functions attached to concepts example
Sure! Give me a minute, I'm trying to cook up an example where this situation naturally applies so that we can look at an example of something that isn't contrived just for the sake of demonstrating this need
Console database delete
Joshua meant that ...
database create is idempotent. So you can use:
database create Experimental
database delete Experimental
database create Experimental
database delete Experimental
Vector storage
If I would want to contribute to TypeDB, is there contributors documentation available? I can't really find any.
I managed to compile the 'typedb' repo. But looking into the source I noticed you are using the 'TypeDB sync tool' to generate Cargo .toml files.
I do have to say I'm just a Rust beginner. I have been programming professionally for more than 25 years and program in many languages, mainly Java and Python, but have programmed in many others for years as well. I'm mostly interested in trying to add some text, vector and hybrid search.
Either sync data to an external search engines / vector database (https://superlinked.com/vector-db-comparison) or build a simple version internally in TypeDB for starters....
should it be possible to have two
should it be possible to have two attributes on an entity with an
@key annotation? I somehow ended up in that situation hahahaSTIX modeling
Question: How to Model Controlled Language Lists, Vocab or Enum in TypeQL
In Stix and other cybersecurity languages, Controlled Vocabularies are used to limit the allowable choices for a particular field. There are two types:
- Enum: A list of words that cannot be added to, e.g. Opinion, which is a scale
- Vocab A list of words that can be added to, e.g. Hash Algorithms, which can obviously increase...
Wouldn't your desired approach require
Wouldn't your desired approach require declaring the plays for all 1000 attributes?
Or do you just declare it once on a supertype and the plays is inherited?...
TypeDB Schema Introspection
And also this! We need to re-build the schema export functionality. I kind of want to to be available in TypeQL and a json-like structure (one of @christoph.dorn 's ideas!) which would be awesome IMO.