Search Results
https://dev.mysql.com/doc/connector-python/en/connector-python-coding.html
For example, in MySQL tables, you typically use numeric IDs rather than string-based dictionary keys, so that the key values are compact and have a predictable length. The bad data might be accidental, such as out-of-range values or misformatted ...
https://dev.mysql.com/doc/ndbapi/en/ndb-nodejs-api-tablemapping.html
TableMapping = { String table : "" , String database : "" , boolean mapAllColumns : true, Array fields : null }; The table and data members are the names of the table and database, respectively. FieldMapping = { String fieldName : "" , String ... A ...
https://dev.mysql.com/doc/relnotes/connector-cpp/en/news-8-0-22.html
Connection URIs and SessionSettings objects permit explicitly specifying the preferred algorithms: URI strings permit a compression-algorithms option. URI mode follows X DevAPI URI mode: mysqlx_session_t *sess = mysqlx_get_session_from_url( ...
https://dev.mysql.com/doc/mysql-shell/9.4/en/mysql-shell-connections.html
You can also create multiple additional session objects that represent other connections to MySQL server instances, by using the shell.openSession(), mysqlx.getSession(), mysql.getSession(), or mysql.getClassicSession() function. All these different ... MySQL Shell can connect to MySQL Server using both X Protocol and classic MySQL ...
https://dev.mysql.com/doc/extending-mysql/8.4/en/writing-information-schema-plugins.html
The initialization function should return 0 for success, 1 if an error occurs. NAME is string-valued with a length of 10 and VALUE is integer-valued with a display width of 20. static ST_FIELD_INFO simple_table_fields[]= { {"NAME", 10, ... This ...
https://dev.mysql.com/doc/x-devapi-userguide-shell-js/en/parameter-binding.html
This is done using parameters in the expression string and the bind() function to bind values to the parameters. Parameter Type Syntax Example Allowed in CRUD operations Allowed in SQL strings Anonymous ? 'age > ?' no yes Named :<name> 'age > :age' ... Instead of using values directly in an expression string it is good practice to separate values from the expression ...
https://dev.mysql.com/doc/x-devapi-userguide-shell-python/en/parameter-binding.html
This is done using parameters in the expression string and the bind() function to bind values to the parameters. Parameter Type Syntax Example Allowed in CRUD operations Allowed in SQL strings Anonymous ? 'age > ?' no yes Named :<name> 'age > :age' ... Instead of using values directly in an expression string it is good practice to separate values from the expression ...
https://dev.mysql.com/doc/connectors/en/connector-j-usagenotes-connect-drivermanager.html
Note A user name is considered unspecified only when the following conditions are all met: The method DriverManager.getConnection(String url, String user, String password) is not used. Notice if (1) or (2) is not true and an empty string is passed, ... When you are using JDBC outside of an application server, the DriverManager class manages the establishment of ...
https://dev.mysql.com/doc/connectors/en/connector-j-usagenotes-spring-config-jdbctemplate.html
*/ private String queryString = "select Name from City " + "where CountryCode = :country order by rand() limit 1"; /** * Retrieve a random city using Spring JDBC access classes. Spring makes extensive use of the Template method design pattern (see ...
https://dev.mysql.com/doc/connectors/en/connector-j-usagenotes-spring-config-transactional.html
First you create a simple interface: public interface Ex3Dao { Integer createCity(String name, String countryCode, String district, Integer population); } This interface contains one method that will create a new city record in the database and ...