Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JasonShin/sqlx-ts
/ functions
Functions
287 in github.com/JasonShin/sqlx-ts
⨍
Functions
287
◇
Types & classes
1,936
Method
mysql_fetch_table
( &self, table_names: &Vec<&str>, conn: &Mutex<Pool<MySqlConnectionManager>>, )
src/ts_generator/information_schema.rs:143
Function
nameOverrideArrowFunction
()
tests/demo/typescript/expression/arrow-function.ts:5
Method
new
(db_type: &str, generate_types: bool, generate_path: Option<PathBuf>, config_file_name: Option<String>)
test-utils/src/sandbox.rs:32
Method
new
(cache: &'a HashMap<String, Arc<Mutex<DBConn>>>)
src/core/connection.rs:59
Method
new
(conn_url: String)
src/core/postgres/pool.rs:11
Method
new
(conn_url: String, connection_name: String)
src/core/mysql/pool.rs:12
Method
new
(db_path: String, connection_name: String)
src/core/sqlite/pool.rs:24
Method
new
()
src/ts_generator/information_schema.rs:34
Method
new
(name: String)
src/ts_generator/types/ts_query.rs:378
Method
new
()
src/common/config.rs:90
Method
new
(path_to_dotenv: Option<String>)
src/common/dotenv.rs:27
Function
plainArrowFunction
()
tests/demo/typescript/expression/arrow-function.ts:3
Function
postgres_db_url_failure_test
()
tests/cli.rs:414
Function
postgres_db_url_from_config_test
()
tests/cli.rs:279
Function
postgres_db_url_test
()
tests/cli.rs:230
Method
postgres_fetch_table
( &self, schema: &String, table_names: &Vec<&str>, conn: &Mutex<Pool<PostgresConnectionManager
src/ts_generator/information_schema.rs:68
Function
prepare
Runs the prepare statement on the input SQL. Validates the query is right by directly connecting to the configured database. It also processes ts inte
src/core/postgres/prepare.rs:11
Function
prepare
Runs the prepare statement on the input SQL. Validates the query is right by directly connecting to the configured SQLite database. It also processes
src/core/sqlite/prepare.rs:12
Method
privateMethod
()
tests/demo/typescript/expression/class-accessors.ts:21
Method
publicMethod
()
tests/demo/typescript/expression/class-accessors.ts:25
Method
set_db_host
(&mut self, db_host: String)
test-utils/src/sandbox.rs:88
Method
set_db_name
(&mut self, db_name: String)
test-utils/src/sandbox.rs:108
Method
set_db_pass
(&mut self, db_pass: String)
test-utils/src/sandbox.rs:103
Method
set_db_port
(&mut self, db_port: i32)
test-utils/src/sandbox.rs:93
Method
set_db_type
(&mut self, db_type: String)
test-utils/src/sandbox.rs:78
Method
set_db_user
(&mut self, db_user: String)
test-utils/src/sandbox.rs:98
Method
set_file_extension
(&mut self, file_extension: String)
test-utils/src/sandbox.rs:83
Function
should_detect_invalid_sql
()
tests/sqlite_query_parameters.rs:217
Function
should_exit_with_code_0_when_no_errors
()
tests/exit_code_on_error.rs:57
Function
should_exit_with_code_1_when_sql_errors_detected
()
tests/exit_code_on_error.rs:11
Function
should_fail_with_many_successes_and_one_failure_in_middle
()
tests/exit_code_on_error.rs:99
Function
should_fail_with_multiple_files_one_success_one_failure
()
tests/exit_code_on_error.rs:154
Function
should_handle_insert_with_params
()
tests/sqlite_query_parameters.rs:138
Function
should_handle_multiple_types
()
tests/sqlite_query_parameters.rs:169
Function
should_handle_query_params_with_question_mark
()
tests/sqlite_query_parameters.rs:104
Function
should_not_warn_on_field_names_of_asterix
()
tests/alias.rs:46
Function
should_recognize_coalesce_as_type_polymorphic
()
src/ts_generator/sql_parser/expressions/functions.test.rs:75
Function
should_recognize_ifnull_as_type_polymorphic
()
src/ts_generator/sql_parser/expressions/functions.test.rs:68
Function
should_recognize_nullif_as_type_polymorphic
()
src/ts_generator/sql_parser/expressions/functions.test.rs:81
Function
should_return_date_method_falsy
()
src/ts_generator/sql_parser/expressions/functions.test.rs:47
Function
should_return_date_method_truthy
()
src/ts_generator/sql_parser/expressions/functions.test.rs:38
Function
should_return_numeric_method_falsy
()
src/ts_generator/sql_parser/expressions/functions.test.rs:17
Function
should_return_numeric_method_truthy
()
src/ts_generator/sql_parser/expressions/functions.test.rs:8
Function
should_return_string_method_falsy
()
src/ts_generator/sql_parser/expressions/functions.test.rs:32
Function
should_return_string_method_truthy
()
src/ts_generator/sql_parser/expressions/functions.test.rs:23
Function
should_return_type_polymorphic_function_falsy
()
src/ts_generator/sql_parser/expressions/functions.test.rs:62
Function
should_return_type_polymorphic_function_truthy
()
src/ts_generator/sql_parser/expressions/functions.test.rs:53
Function
should_select_default_for_unnamed_expr
()
src/ts_generator/sql_parser/expressions/translate_table_with_joins.test.rs:12
Function
should_select_default_for_unnamed_expr_with_table_alias
()
src/ts_generator/sql_parser/expressions/translate_table_with_joins.test.rs:36
Function
should_select_join_table_for_expr_with_alias
()
src/ts_generator/sql_parser/expressions/translate_table_with_joins.test.rs:86
Function
should_select_join_table_for_unnamed_expr_with_table_alias
()
src/ts_generator/sql_parser/expressions/translate_table_with_joins.test.rs:60
Function
should_succeed_with_multiple_files_all_successful
()
tests/exit_code_on_error.rs:213
Function
should_validate_simple_select
()
tests/sqlite_query_parameters.rs:70
Function
should_warn_on_clashing_field_names_on_join
()
tests/alias.rs:9
Function
should_warn_on_clashing_field_names_on_join_asterix
()
tests/alias.rs:80
Method
someMethod
()
tests/demo/typescript/expression/class-accessors.ts:48
Method
sql2
()
tests/demo/typescript/expression/types.ts:25
Method
sql3
(value: string)
tests/demo/typescript/expression/types.ts:26
Method
sqlite_fetch_table
( &self, table_names: &Vec<&str>, conn: &Mutex<Pool<SqliteConnectionManager>>, )
src/ts_generator/information_schema.rs:216
Method
test
()
tests/demo/typescript/expression/class-accessors.ts:6
Function
test1
()
test-utils/src/lib.rs:18
Function
testIfStatement
()
tests/demo/typescript/statement/if.ts:7
Function
test_cjs_files
()
tests/demo_happy_path.rs:215
Function
test_cts_files
()
tests/demo_happy_path.rs:167
Function
test_display_object_name_qualified_database_schema_table
()
src/ts_generator/sql_parser/quoted_strings.rs:102
Function
test_display_object_name_qualified_schema_table
()
src/ts_generator/sql_parser/quoted_strings.rs:94
Function
test_display_object_name_qualified_with_quotes
()
src/ts_generator/sql_parser/quoted_strings.rs:118
Function
test_display_object_name_single_identifier
()
src/ts_generator/sql_parser/quoted_strings.rs:86
Function
test_display_object_name_with_quotes
()
src/ts_generator/sql_parser/quoted_strings.rs:110
Function
test_empty_sql_file
()
tests/sql_file_support.rs:487
Function
test_js_files
()
tests/demo_happy_path.rs:119
Function
test_mjs_files
()
tests/demo_happy_path.rs:191
Function
test_mts_files
()
tests/demo_happy_path.rs:143
Function
test_multiple_extensions
()
tests/demo_happy_path.rs:263
Function
test_multiple_queries_in_single_sql_file
()
tests/sql_file_support.rs:45
Function
test_multiple_sql_files_in_directory
()
tests/sql_file_support.rs:306
Function
test_playpen_schema_inventory_items_relationship
()
tests/sql_file_support.rs:518
Function
test_single_sql_file_validation
()
tests/sql_file_support.rs:10
Function
test_sql_file_type_generation
()
tests/sql_file_support.rs:88
Function
test_sql_file_type_generation_with_custom_path
()
tests/sql_file_support.rs:441
Function
test_sql_file_with_comments_and_whitespace
()
tests/sql_file_support.rs:246
Function
test_sql_file_with_complex_queries
()
tests/sql_file_support.rs:143
Function
test_sql_file_with_database_connection_annotation
()
tests/sql_file_support.rs:381
Function
test_sql_file_with_invalid_syntax
()
tests/sql_file_support.rs:343
Function
test_sql_file_with_mysql_syntax
()
tests/sql_file_support.rs:204
Function
test_sql_files
()
tests/demo_happy_path.rs:239
Method
warning
(message: &str, log_level: LogLevel)
src/common/config.rs:429
← previous
201–287 of 287, ranked by callers