(ctx context.Context, arg InsertSpanParams)
| 146 | } |
| 147 | |
| 148 | func (q *Queries) InsertSpan(ctx context.Context, arg InsertSpanParams) (int64, error) { |
| 149 | row := q.queryRow(ctx, q.insertSpanStmt, insertSpan, |
| 150 | arg.TraceID, |
| 151 | arg.SpanID, |
| 152 | arg.TraceState, |
| 153 | arg.ParentSpanID, |
| 154 | arg.Flags, |
| 155 | arg.Name, |
| 156 | arg.Kind, |
| 157 | arg.StartTime, |
| 158 | arg.EndTime, |
| 159 | arg.Attributes, |
| 160 | arg.DroppedAttributesCount, |
| 161 | arg.Events, |
| 162 | arg.DroppedEventsCount, |
| 163 | arg.Links, |
| 164 | arg.DroppedLinksCount, |
| 165 | arg.StatusCode, |
| 166 | arg.StatusMessage, |
| 167 | arg.InstrumentationScope, |
| 168 | arg.Resource, |
| 169 | arg.ResourceSchemaUrl, |
| 170 | ) |
| 171 | var id int64 |
| 172 | err := row.Scan(&id) |
| 173 | return id, err |
| 174 | } |
| 175 | |
| 176 | const selectLogsBeneathSpan = `-- name: SelectLogsBeneathSpan :many |
| 177 | WITH RECURSIVE descendant_spans AS ( |
no test coverage detected