<commit_before>package stquery

import (
	"fmt"
	"reflect"
	"strings"
)

// Scanner represents a database row that can scan itself.
type Scanner interface {
	Scan(dest ...interface{}) error
}

// Statement returns an SQL query statement that selects columns based
// on the names of the fields in dest, which must be a pointer
// to a struct. If a field has the "query" tag, its value holds
// the name that will be used.
//
// The given template string must contain an occurrence of "$fields",<commit_msg>stquery: change comment<commit_after>package stquery

import (
	"fmt"
	"reflect"
	"strings"
)

// Scanner represents a database row that can scan itself.
type Scanner interface {
	Scan(dest ...interface{}) error
}

// Statement returns an SQL query statement that selects columns based
// on the names of the fields in dest, which must be a pointer
// to a struct. If a field has the "stquery" tag, its value holds
// the name that will be used.
//
// The given template string must contain an occurrence of "$fields",
{'fraction_non_alphanumeric': 0.0888671875, 'fraction_numerical': 0.0, 'mean_word_length': 3.596412556053812, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6051527', 'n_tokens_mistral': 282, 'n_tokens_neox': 277, 'n_words': 147}