| 73 | } |
| 74 | |
| 75 | type SQLite struct { |
| 76 | cfg *SQLiteRawWriterConfig |
| 77 | pathString string |
| 78 | fieldNames []string |
| 79 | nEvents int64 |
| 80 | isRaw bool // are we a raw sqlite writer? |
| 81 | tx *sql.Tx // main transaction |
| 82 | conn *sql.DB |
| 83 | } |
| 84 | |
| 85 | func renderSQLitePathString(pathString string, shardID int, field string) (string, error) { |
| 86 | // This function substitutes {{ShardId}} and {{Field}} in PathString. |
nothing calls this directly
no outgoing calls
no test coverage detected