Hi, you would do a regular select and pass an object with the primary key field set to the value you're looking for. This would always return one result.
This isn't elegant though. We should probably add a "findByPrimaryKey()" API. On Wednesday, October 14, 2020 at 7:13:46 AM UTC+3 [email protected] wrote: > Hi, > > I am trying to use the SQLMap api and I cannot find a way to select a > single record or a group of records as is done by applying a filter with > the "where" condition. > > I appreciate an example of how to do it. > > Thanks > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/2f57ae44-1de0-49aa-ab76-ad024de97d46n%40googlegroups.com.
