mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-08 02:18:53 +00:00
25 lines
413 B
C++
25 lines
413 B
C++
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
#include "osquery/tables/implementations/example.h"
|
|
|
|
using namespace osquery::db;
|
|
|
|
namespace osquery { namespace tables {
|
|
|
|
QueryData genExample() {
|
|
|
|
Row row1;
|
|
row1["name"] = "Mike";
|
|
row1["age"] = "21";
|
|
row1["gender"] = "male";
|
|
|
|
Row row2;
|
|
row2["name"] = "Marie";
|
|
row2["age"] = "21";
|
|
row2["gender"] = "female";
|
|
|
|
return {row1, row2};
|
|
}
|
|
|
|
}}
|