mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
Make list of primary keys explicitly serializble, so when they change to field's type later, it doesn't blow up (should we fix that on the other side? (yes))
This commit is contained in:
@ -892,7 +892,8 @@ public class QPicoCliImplementation
|
|||||||
|
|
||||||
if(StringUtils.hasContent(primaryKeyOption))
|
if(StringUtils.hasContent(primaryKeyOption))
|
||||||
{
|
{
|
||||||
deleteInput.setPrimaryKeys(Arrays.asList(primaryKeyOption.split(",")));
|
List<Serializable> primaryKeys = new ArrayList<>(Arrays.asList(primaryKeyOption.split(",")));
|
||||||
|
deleteInput.setPrimaryKeys(primaryKeys);
|
||||||
}
|
}
|
||||||
else if(criteria.length > 0)
|
else if(criteria.length > 0)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user