SQLSELECT_TO_DB(1)
π sqlselect_to_db π
bestie, welcome to the SQLSELECT_TO_DB(1) manual from the User Contributed Perl Documentation, and it's all about sqlselect_to_db β convert MySQL or MariaDB selected tables to fsdb. no cap, it's giving useful β¨
πΈ NAME πΈ
sqlselect_to_db β convert MySQL or MariaDB selected tables to fsdb
π SYNOPSIS π
sqlselect_to_db <source.sqlselect_table >dest.fsdb
π¦ DESCRIPTION π¦
okay so this cutie converts a MySQL or MariaDB tables to Fsdb format β yes, the original phrasing said "a ... tables", and I'm not gonna fix it because facts are facts π .
The input is not fsdb. The first non-box row is taken to be the names of the columns.
The output is two-space-separated fsdb. (Someday more general field separators should be supported β manifesting that upgrade π.)
This module also supports the standard fsdb options:
-dβ enable debugging output.-ior--inputInputSource β read from InputSource, typically a file name, or"-"for standard input, or (if in Perl) aIO::Handle,Fsdb::IOorFsdb::BoundedQueueobjects.-oor--outputOutputDestination β write to OutputDestination, typically a file name, or"-"for standard output, or (if in Perl) aIO::Handle,Fsdb::IOorFsdb::BoundedQueueobjects.--autorunor--noautorunβ by default, programs process automatically, butFsdb::Filterobjects in Perl do not run until you invoke therun()method. The"--(no)autorun"option controls that behavior within Perl.--helpβ show help.--manβ show full manual.
β¨ SAMPLE USAGE β¨
Input:
+----------------+---------------+--------------------+------+-------------------------+
| username | firstname | lastname | id | email |
+----------------+---------------+--------------------+------+-------------------------+
| johnh | John | Heidemann | 134 | johnh@isi.edu |
+----------------+---------------+--------------------+------+-------------------------+
1 row in set (0.01 sec)
Command:
sqlselect_to_db
Output:
#fsdb -F S username firstname lastname id email
johnh John Heidemann 134 johnh@isi.edu
# | sqlselect_to_db
π SEE ALSO π
Fsdb. db_to_csv.
π AUTHOR and COPYRIGHT π
Copyright (C) 2014-2018 by John Heidemann <johnh@isi.edu>.
This program is distributed under terms of the GNU general public license, version 2. See the file COPYING with the distribution for details.
π« and that's the whole SQLSELECT_TO_DB(1) moment β this page is from perl v5.32.1, dated 2024-08-02. byeee bestie, slay responsibly π«Ά
π¦ where this page comes from
- epel 9: perl-Fsdb 2:3.9-1.el9 Β· GPLv2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms