mssql_tiberius_schema_parser

Crates.iomssql_tiberius_schema_parser
lib.rsmssql_tiberius_schema_parser
version0.4.2
sourcesrc
created_at2024-01-23 02:49:56.088079
updated_at2024-10-18 03:35:49.70501
descriptionGenerates the schema of all tables in msql as a structure.
homepagehttps://github.com/rabbitson87/mssql_tiberius_schema_parser
repositoryhttps://github.com/rabbitson87/mssql_tiberius_schema_parser
max_upload_size
id1110039
size98,648
Hee Sung Son (rabbitson87)

documentation

https://github.com/rabbitson87/mssql_tiberius_schema_parser

README

mssql_tiberius_schema_parser

Generates the schema of all tables in mssql as a structure.

How to use

cargo install mssql_tiberius_schema_parser mssql_tiberius_schema_parser.exe [OPTIONS] -u -p -t

Options: --host A host or ip address to connect to. - Defaults to localhost

  --port <PORT>
      The server port.
      - Defaults to `61363`

-d The database to connect to. - Defaults to master

-a Sets the application name to the connection, queryable with the APP_NAME() command. - Defaults to no name specified.

-i The instance name as defined in the SQL Browser. Only available on Windows platforms. If specified, the port is replaced with the value returned from the browser. If you write win_auth, please write down except the computer name - Required for win_auth - Defaults to no name specified.

-u The user to connect with. If you write win_auth, please write down except the computer name - Required

-p The password to connect with. - Required

-t The authentication type to use. - Required

      Possible values:
      - win_auth:    Use Windows Authentication
      - server_auth: Use SQL Server Authentication

  --use_proto_parser
      Use date time to string. add cli option with --use_proto_parser.
      - Defaults to false

  --use_split_file
      Use split file. add cli option with --use_split_file.
      - Defaults to false

  --path <PATH>
      The path to the rs file to execute.
      - Defaults to structs.rs

  --proto_path <PROTO PATH>
      The path to the proto file to execute.
      - Defaults to structs.proto

-h, --help Print help (see a summary with '-h')

-V, --version Print version

Commit count: 29

cargo fmt