Select result to Array of strings?
See original GitHub issueIs it possible to do Select
query and get result as list of Strings
(i.e. to not map to object)?
Like:
String query = "select columnName from table";
List<String> result = DatabaseManager.Database.Query<???>(query);
Issue Analytics
- State:
- Created 9 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Convert SQL Query result into array of strings - java
If I make the SQL query SELECT name, pass FROM loginTable WHERE name='%s'; is there a function to Return OR Convert the name...
Read more >Select query to convert to array of string - SQL++
@vsr1 I have below select query that is resulting in array of objects. How can I retrieve/convert it into array of strings.
Read more >Work with arrays | BigQuery
In GoogleSQL for BigQuery, an array is an ordered list consisting of zero or more values of the same data type. You can...
Read more >Arrays and Lists in SQL Server (Short version)
Used as in the example above, it returns a result set with a single column value. Take this query: SELECT * FROM string_split...
Read more >How to implement array-like functionality in SQL Server
SELECT value FROM STRING_SPLIT('Roberto,Gail,Dylan', ',');. The values will be converted to rows: In the STRING_SPLIT function, you need to ...
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
Selecting scalars is not supported, but would be a great feature.
My bad, I forgot what I was dealing with, I was trying to retrieve only the IDs with a custom object
but the object needs to be formatted in the SQLite.net standard, which is :
and now it works fine 😃