W3cubDocs

/Nushell

into sqlite for conversions

Convert table into a SQLite database.

Signature

> into sqlite {flags} (file_name)

Flags

  • --table_name, -t {string}: Specify table name to store the data in

Parameters

  • file_name: Specify the filename to save the database to

Input/output types:

input output
any nothing

Examples

Convert ls entries into a SQLite database with 'main' as the table name

>ls|into sqlitemy_ls.db

Convert ls entries into a SQLite database with 'my_table' as the table name

>ls|into sqlitemy_ls.db-tmy_table

Convert table literal into a SQLite database with 'main' as the table name

> [[name]; [-----] [someone] [=====] [somename] ['(((((']] |into sqlitefilename.db

Convert a variety of values in table literal form into a SQLite database

> [one25.2sixtrue100mib25sec] |into sqlitevariety.db

Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/into_sqlite.html