retreive datasource by name
See original GitHub issueHey,
I would like to be able to fetch DataSource
from DataSourceCollection
by name.
Currently I am only able to fetch by index. which might change by others with .lower/.raise
.
Since I might access DataSource
from different location through the app, it will be great to save their names in order to manage them rather then their reference which, among other things, can lead to a memory leak.
I will be happy to implement it if the approach is accepted. .getByName
method which returns DataSource[]
(array of datasources since name is not unique)
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to retrieve the datasource used by a persistence unit ...
I can retrieve the name of the persistence unit of an EntityManager using the properties of it's factory. I can retrieve the available ......
Read more >how to Fetch datasource usernames of ALL reports
Below script fetches datasource for individual RsItem, but we have over 800 reports on reportserver and so i want to get a detailed...
Read more >GridControl - Get DataSource name - DevExpress Support
Hello,. a gridcontrol uses mutiple datasources(bindingsources) at runtime. The bindsources are named like for example bs1, bs2, etc.
Read more >Connecting with DataSource Objects (The Java™ Tutorials ...
This section shows you how to get a connection using the DataSource ... This means that a programmer can give the logical data...
Read more >Use a query to determine the data source context
Use a query to determine the data source context ; Every item under site home page with additional sorting applied. query:$home//*[@@name='News'].
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@OmarShehata the
get
function isgetByIndex
https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/DataSources/DataSourceCollection.js#L186I think this is a good idea, given that EntityCollection has a getById function (and interestingly it doesn’t have a getByIndex).