lxd/db/containers.go
func (c *ClusterTx) ContainerNames(project string) ([]string, error) {
	stmt := `
SELECT containers.name FROM containers
  JOIN projects ON projects.id = containers.project_id
  WHERE projects.name = ? AND containers.type = ?
`
	return query.SelectStrings(c.tx, stmt, project, CTypeRegular)
}
func (c *ClusterTx) ContainerNames(project string) ([]string, error) {
	stmt := `
SELECT containers.name FROM containers
  JOIN projects ON projects.id = containers.project_id
  WHERE projects.name = ? AND containers.type = ?
`
	return query.SelectStrings(c.tx, stmt, project, CTypeRegular)
}
// ContainerNames returns the names of all containers the given project.