add a Select::distinct flag

This commit is contained in:
2023-02-28 03:37:20 +01:00
parent dee48ea2b5
commit 1821c562f7
2 changed files with 16 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
*/
/*
* Copyright (c) 2022, Tomasz Sowa
* Copyright (c) 2022-2023, Tomasz Sowa
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -50,6 +50,7 @@ public:
default_type = 0,
no_auto_generated_columns = 1,
with_rows_counter = 2,
distinct = 4,
};
@@ -117,6 +118,11 @@ public:
}
bool is_distinct() const
{
return is_flag_set(distinct);
}
};
}