Make "ni-id" support strings in the first argument.
CompletedE.g.
["ni-id", "foo:bar"] => "bar"
This to avoid having to create the following construct in order to ensure that only the value of _id is gotten and not the namespace:
["add", "foo", ["ni-id",
["ni", "_S._id"]
]]
-
Official comment
Agreed. We'll also add support for string arguments to the `ni-ns` function as it is similar.
Comment actions -
Turns out that this was actually implemented in 2023. The "ni-id" and "ni-ns" functions do accept string arguments. See https://docs.sesam.io/hub/changelog.html#changelog-2023-08-14
Please sign in to leave a comment.
Comments
2 comments