-
Suggestion
-
Resolution: Unresolved
-
None
-
1
-
Current State:
Currently the only way to search by attribute in AQL is by using attribute name.
Proposed Future State:
Sometimes, due to attribute rename or to avoid ambiguity it is useful to use attribute id instead of name in AQL query.
This is especially useful if attribute names contain spaces or special characters, or if you want to avoid ambiguity.
- Syntax Example:
If you know the attribute ID (for example, `123`), you can write your AQL like this:
```
"Attribute ID[123]" = "Some Value"
```
Replace `123` with your actual attribute ID and `"Some Value"` with the value you're searching for.
- {}Why Use Attribute IDs:{}
Using the attribute ID ensures your query remains accurate even if the attribute name changes in the future.
Current Workaround :
Currently only name can be used