db

package
v0.0.0-...-1a772e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

README

This is a generator for build stage to convert the text format Congkit radicals table, into SQLite3 database binary file.

Documentation

Index

Constants

View Source
const (
	CreateCharsTableQuery = `` /* 271-byte string literal not displayed */

	CreateRadicalsTableQuery = `` /* 164-byte string literal not displayed */

	CreateRadicalsIndexQuery = `CREATE INDEX idx_radicals on radicals(version, radical);`

	AddCharsQuery = `` /* 173-byte string literal not displayed */

	AddRadicalsQuery = `
	INSERT INTO radicals (char_idx, version, radical) 
	VALUES (?, ?, ?);
	`
)

Variables

This section is empty.

Functions

func Generate

func Generate(raw [][]string, dbFilePath string) error

Generate SQLite3 database file from raw data

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL