csv-searcher

module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: MIT

README

Go Report Card codecov

Курсовая по курсу Лучшие практики разработки Go-приложений

Query syntax

SELECT select_expr [, select_expr ] ... FROM table_references [, table_references ] ... [ WHERE where_condition ]

The most commonly used clauses of SELECT statements are these:

  • Each select_expr indicates a column that you want to retrieve. There must be at least one select_expr.
  • A select list consisting only of a single unqualified * can be used as shorthand to select all columns from tables, but all tables must have the same columns and column order
  • table_references indicates the table or tables from which to retrieve rows
  • The WHERE clause, if given, indicates the condition or conditions that rows must satisfy to be selected. where_condition is an expression that evaluates to true for each row to be selected. The statement selects all rows if there is no WHERE clause.

Directories

Path Synopsis
cmd
sqlcli
Package main is console app for searching in csv files with sql like syntax.
Package main is console app for searching in csv files with sql like syntax.
internal
app
Package app initializes and runs app.
Package app initializes and runs app.
config
Package config gets configuration data from .env file or env variables.
Package config gets configuration data from .env file or env variables.
csvquery
Package csvquery parse and analyzes sql like query string.
Package csvquery parse and analyzes sql like query string.
db
sqlreader
Package sqlreader reads lines with with the ability to cancel the context.
Package sqlreader reads lines with with the ability to cancel the context.
structs
Package structs contains queue, stack and tree structs.
Package structs contains queue, stack and tree structs.
version
Package version contains global variables for app version, build date and commit.
Package version contains global variables for app version, build date and commit.

Jump to

Keyboard shortcuts

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