]> git.phdru.name Git - sqlconvert.git/blob - docs/index.rst
Include API docs
[sqlconvert.git] / docs / index.rst
1 .. mysql2sql documentation master file, created by
2    sphinx-quickstart on Fri Jul 22 19:32:24 2016.
3    You can adapt this file completely to your liking, but it should at least
4    contain the root `toctree` directive.
5
6 Welcome to mysql2sql's documentation!
7 =====================================
8
9 This is mysql2sql, a mysql to sql converter. It is primary intended to
10 convert mysqldump (especially with extended INSERT syntax) to standard
11 SQL to load at least to PostgreSQL or SQLite.
12
13 It uses `sqlparse <https://github.com/andialbrecht/sqlparse>`_ to parse
14 SQL.
15
16 The program is in its initial phase and currently cannot do much.
17
18 .. highlight:: none
19
20 Command line
21 ------------
22
23 mysql-to-sql.py
24 ~~~~~~~~~~~~~~~
25
26 Usage::
27
28     mysql-to-sql.py [-i infile] [-o outfile]
29
30 Options::
31
32     -i, --infile infile    Input file, stdin if absent
33     -o, --outfile outfile  Output file, stdout if absent
34
35
36 Indices and tables
37 ==================
38
39 * :ref:`genindex`
40 * `<api/modules.html>`_
41 * :ref:`search`
42
43
44 Credits
45 =======
46
47 Created by Oleg Broytman <phd@phdru.name>.
48
49 Copyright (C) 2016 PhiloSoft Design.
50
51
52 License
53 =======
54
55 GPL.