You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need a way to (programmatically) query for nodes without caring for capitalization.
Long Description
I'd like to query nodes from the database, whithout using a completion framework and without creating SQL statements on my own. The function org-roam-node-from-title-or-alias already does what I need, with the exception that I need the queries to be case insensitive. Adding COLLATE NOCASE to relevant queries would ignore capitalization.
Suggestion: Evaluating (org-roam-node-from-title-or-alias "foo" t) should return the node with title "Foo", while (org-roam-node-from-title-or-alias "foo") should not.
Proposed Implementation (if any)
See Pull Request.
The patch adds an optional parameter that, if set to non-nil, modifies the queries to be case insensitive. This change is backward compatible and does not break anything that already exists.
Please check the following:
No similar feature requests
The text was updated successfully, but these errors were encountered:
Brief Abstract
I need a way to (programmatically) query for nodes without caring for capitalization.
Long Description
I'd like to query nodes from the database, whithout using a completion framework and without creating SQL statements on my own. The function
org-roam-node-from-title-or-alias
already does what I need, with the exception that I need the queries to be case insensitive. AddingCOLLATE NOCASE
to relevant queries would ignore capitalization.Suggestion: Evaluating
(org-roam-node-from-title-or-alias "foo" t)
should return the node with title "Foo", while(org-roam-node-from-title-or-alias "foo")
should not.Proposed Implementation (if any)
See Pull Request.
The patch adds an optional parameter that, if set to non-nil, modifies the queries to be case insensitive. This change is backward compatible and does not break anything that already exists.
Please check the following:
The text was updated successfully, but these errors were encountered: