B:BD[
3.1274] → [
2.5375:5420]
∅:D[
2.5420] → [
3.1312:1383]
B:BD[
3.1312] → [
3.1312:1383]
const clusterResults = await db.select()
.from(cluster)
.where(eq(cluster.locationId, locationId));
const clusterResults = await db.select({
id: cluster.id,
datasetId: cluster.datasetId,
locationId: cluster.locationId,
name: cluster.name,
description: cluster.description,
createdBy: cluster.createdBy,
createdAt: cluster.createdAt,
lastModified: cluster.lastModified,
modifiedBy: cluster.modifiedBy,
active: cluster.active,
timezoneId: cluster.timezoneId,
cyclicRecordingPatternId: cluster.cyclicRecordingPatternId,
sampleRate: cluster.sampleRate
})
.from(cluster)
.where(eq(cluster.locationId, locationId));