csvql

package module
v0.0.0-...-8ae7fcd Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

README

csvql: a SQL server for CSV files

This is a quick demo I put together to show how easy it is to develop SQL servers thanks to gopkg.in/src-d/go-mysql-server.v0.

Disclaimer

This is a quick demo and is not intended to be used in production, pretty please.

Documentation

Overview

Package csvql offers an adaptor from CSV files to SQL databases.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDatabase

func NewDatabase(dir string) (sql.Database, error)

NewDatabase returns a database containing a table per CSV file in the given folder.

func NewTable

func NewTable(path string) (sql.Table, error)

NewTable returns a table containing the rows in the given CSV file.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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