fleet/server/datastore/mysql
Lucas Manuel Rodriguez e64a88d8b1
Add COALESCEs on all host_seen_times JOINs (#3147)
* Add COALESCEs on all host_seen_times JOINs

* Use tx instead of d.writer

* Add unit tests

* Fix compile test
2021-12-01 09:05:23 -03:00
..
migrations Amend policy creation and spec (for proprietary query), and add update APIs (#2890) 2021-11-24 14:16:42 -03:00
activities_test.go Improve performance of the Go test suite (#2060) 2021-09-20 14:09:38 -04:00
activities.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
aggregated_stats_test.go UI feature: Frontend of performance impact bubbles (#2589) 2021-10-22 16:05:49 -04:00
aggregated_stats.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
app_configs_test.go Improve performance of the Go test suite (#2060) 2021-09-20 14:09:38 -04:00
app_configs.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
campaigns_test.go Improve performance of the Go test suite (#2060) 2021-09-20 14:09:38 -04:00
campaigns.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
carves_test.go Improve performance of the Go test suite (#2060) 2021-09-20 14:09:38 -04:00
carves.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
config.go Add support for MySQL read replicas (#1786) 2021-09-01 15:50:52 -04:00
delete_test.go Further optimize host select with policies (#3013) 2021-11-18 14:36:35 -03:00
delete.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
email_changes_test.go Improve performance of the Go test suite (#2060) 2021-09-20 14:09:38 -04:00
email_changes.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
errors.go Amend policy creation and spec (for proprietary query), and add update APIs (#2890) 2021-11-24 14:16:42 -03:00
fulltext_test.go Fix target search behavior with - and + symbols (#2067) 2019-07-03 10:47:43 -07:00
fulltext.go Fix SearchHosts to match for one-char and two-chars queries (#2590) 2021-10-21 17:46:21 -03:00
hosts_test.go Add COALESCEs on all host_seen_times JOINs (#3147) 2021-12-01 09:05:23 -03:00
hosts.go Add COALESCEs on all host_seen_times JOINs (#3147) 2021-12-01 09:05:23 -03:00
invites_test.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
invites.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
labels_test.go Further optimize host select with policies (#3013) 2021-11-18 14:36:35 -03:00
labels.go Add COALESCEs on all host_seen_times JOINs (#3147) 2021-12-01 09:05:23 -03:00
locks_test.go Use the context in the Datastore layer. (#2030) 2021-09-14 10:44:02 -04:00
locks.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
migrations_test.go Add fleetctl debug migrations command to get missing migrations (#2967) 2021-11-22 14:06:12 -03:00
mysql_test.go Add fleetctl debug migrations command to get missing migrations (#2967) 2021-11-22 14:06:12 -03:00
mysql.go Sanitize OrderKey (#3128) 2021-11-29 18:03:19 -03:00
packs_test.go Return all scheduled queries and their stats on the host fetch API (#2855) 2021-11-12 08:18:25 -03:00
packs.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
password_reset_test.go Improve performance of the Go test suite (#2060) 2021-09-20 14:09:38 -04:00
password_reset.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
policies_test.go Fix ListPoliciesForHost, missing filter by teams (#3106) 2021-11-24 18:17:44 -03:00
policies.go Amend policy creation and spec (for proprietary query), and add update APIs (#2890) 2021-11-24 14:16:42 -03:00
queries_test.go Add author_email to payload of queries (Get/List) (#2798) 2021-11-08 09:06:56 -05:00
queries.go Amend policy creation and spec (for proprietary query), and add update APIs (#2890) 2021-11-24 14:16:42 -03:00
scheduled_queries_test.go Further optimize host select with policies (#3013) 2021-11-18 14:36:35 -03:00
scheduled_queries.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
schema.sql Amend policy creation and spec (for proprietary query), and add update APIs (#2890) 2021-11-24 14:16:42 -03:00
sessions_test.go Improve performance of the Go test suite (#2060) 2021-09-20 14:09:38 -04:00
sessions.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
software_test.go Remove host counts from software (#3082) 2021-11-23 15:50:51 -03:00
software.go Remove host counts from software (#3082) 2021-11-23 15:50:51 -03:00
statistics_test.go Add policy updated at (#2246) 2021-09-27 16:27:38 -03:00
statistics.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
targets_test.go Add COALESCEs on all host_seen_times JOINs (#3147) 2021-12-01 09:05:23 -03:00
targets.go Add COALESCEs on all host_seen_times JOINs (#3147) 2021-12-01 09:05:23 -03:00
teams_test.go Improve performance of the Go test suite (#2060) 2021-09-20 14:09:38 -04:00
teams.go Remove five-row limit for teams search (#3021) 2021-11-22 09:30:55 -06:00
testing_utils.go Remove deprecated app_configs table (#2884) 2021-11-15 09:34:51 -05:00
unicode_test.go Further optimize host select with policies (#3013) 2021-11-18 14:36:35 -03:00
users_test.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00
users.go Create errors with ctxerr, add the call to store them in redis (#2786) 2021-11-15 09:11:38 -05:00