Popularity
0.9
Declining
Activity
0.0
Stable
0
1
0

Monthly Downloads: 8
Programming language: Haskell
License: MIT License
Tags: Database    
Latest version: v0.1.0.2

dawdle alternatives and similar packages

Based on the "Database" category.
Alternatively, view dawdle alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of dawdle or a related project?

Add another 'Database' Package

README

Dawdle - the DDL suggestor tool

Meant as a tool for analyzing CSVs and suggesting a DDL. Generates an executable called dawdle once installed.

Usage examples

$ dawdle --input="example_with_comma.csv" --with-header -s "," This means analyze the file example_with_comma.csv, assume the first line is the header and use a comma as a separator. The example output is

create table example_with_comma (id int not null,
                                 name varchar(65) not null,
                                 created_at datetime not null,
                                 updated_at datetime not null)

To see all command line flags, run $ dawdle --help.

Types

Currently, the syntax is basic(-ish) SQL. Supported types are:

  • tinyint
  • smallint
  • int
  • bigint
  • real
  • float
  • date
  • datetime (==timestamp)
  • varchar