We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thank you for this project, it is excellent. Just a minor issue I had with table joins that might help others..
Notice the need to add a space " " in front of the JOIN keyword
@ContentUri( path = Path.SITE_PRICE_LAT_LNG, type = "vnd.android.cursor.dir/site_price_lat_lng", table = Path.SITE_PRICE, join = " JOIN " + BrowserDatabase.FullSites.FULL_SITES + " ON " + BrowserDatabase.SitePrice.SITE_PRICE + "." + SitePriceColumn._ID + " = " + BrowserDatabase.FullSites.FULL_SITES + "." + FullSiteDetailsColumns._ID )
Otherwise when generated this statement gets mangled
case SITEPRICELATLNG_SITE_PRICE_LAT_LNG: { SelectionBuilder builder = getBuilder("SitePriceLatLng"); String join = " JOIN site_price ON site_price._id = full_sites._id"; String table = "site_price" + join;
Hope this makes sense
Thanks again
The text was updated successfully, but these errors were encountered:
Update your version, this is fixed by 2b82deb :)
Sorry, something went wrong.
No branches or pull requests
Thank you for this project, it is excellent. Just a minor issue I had with table joins that might help others..
Notice the need to add a space " " in front of the JOIN keyword
@ContentUri( path = Path.SITE_PRICE_LAT_LNG,
type = "vnd.android.cursor.dir/site_price_lat_lng",
table = Path.SITE_PRICE,
join = " JOIN " + BrowserDatabase.FullSites.FULL_SITES + " ON " + BrowserDatabase.SitePrice.SITE_PRICE + "." + SitePriceColumn._ID + " = " + BrowserDatabase.FullSites.FULL_SITES + "." + FullSiteDetailsColumns._ID
)
Otherwise when generated this statement gets mangled
case SITEPRICELATLNG_SITE_PRICE_LAT_LNG: {
SelectionBuilder builder = getBuilder("SitePriceLatLng");
String join = " JOIN site_price ON site_price._id = full_sites._id";
String table = "site_price" + join;
Hope this makes sense
Thanks again
The text was updated successfully, but these errors were encountered: