github.com/GuanceCloud/cliutils@v1.1.21/pipeline/ptinput/refertable/table_sqlite_windows_386.go (about) 1 // Unless explicitly stated otherwise all files in this repository are licensed 2 // under the MIT License. 3 // This product includes software developed at Guance Cloud (https://www.guance.com/). 4 // Copyright 2021-present Guance, Inc. 5 6 //go:build windows && 386 7 // +build windows,386 8 9 package refertable 10 11 import ( 12 "database/sql" 13 ) 14 15 //nolint:unused 16 type PlReferTablesSqlite struct { 17 tableNames []string 18 db *sql.DB 19 } 20 21 func (p *PlReferTablesSqlite) Query(tableName string, colName []string, colValue []any, kGet []string) (map[string]any, bool) { 22 l.Errorf("windows-386 does not support query using SQLite") 23 return nil, false 24 } 25 26 func (p *PlReferTablesSqlite) updateAll(tables []referTable) (retErr error) { 27 l.Errorf("windows-386 does not support query using SQLite") 28 return nil 29 } 30 31 func (p *PlReferTablesSqlite) Stats() *ReferTableStats { 32 l.Errorf("windows-386 does not support query using SQLite") 33 return nil 34 }