Skip to content

Rename dbpf_devices_sensors_add #19

@nicholas512

Description

@nicholas512

Currently dbpf_devices_sensors_add "moves" sensors from one device to a new device, the sensors must exist ahead of time.

In contrast, other dbpf_***_add functions are used to add rows directly to other tables, using all the rows present in the table.

We need an easy way to add new devices_sensors rows to the database, and so dbpf_devices_sensors_add should be renamed for consistency and to clearly describe what it does.

Some Ideas:

  • dbpf_device_swap
  • dbpf_swap_device
  • dbpf_swap_devices

@hgmacc : any ideas? Am I missing anything?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions