alex-plekhanov commented on code in PR #11618:
URL: https://github.com/apache/ignite/pull/11618#discussion_r1877786506


##########
modules/core/src/main/java/org/apache/ignite/cache/query/annotations/QuerySqlFunction.java:
##########
@@ -37,15 +38,29 @@
  *         }
  *     }
  *
- *     // Register.
- *     indexing.setSqlFunctionClasses(MyFunctions.class);
+ *     // Register in CacheConfiguration.
+ *     cacheCfg.setSqlFunctionClasses(MyFunctions.class);
  *
  *     // And use in queries.
- *     cache.queries().createSqlFieldsQuery("select sqr(2) where sqr(1) = 1");
+ *     ign.query(new SqlFieldsQuery("select sqr(2) where sqr(1) = 1"));

Review Comment:
   `ign.query` -> `cache.query`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to