Can I run SQL functions in a ContentResolver column query?

I am wondering if Android ContentResolver supports using SQL functions over columns when querying ContentProvider. For example, SQLite3 date functions to get a specific date format or datif?

What do you know about this?

+3
source share
1 answer

No. Even if you find that it works in some cases, you cannot assume that it works in all directions.

ContentProvider - . ContentProvider SQLite. XML. JSON. CSV . SQL. . - , , -. , ContentProvider SQL WHERE - XML ContentProvider XQuery.

, ContentProvider, , datediff.

+11

Source: https://habr.com/ru/post/1738095/


All Articles