encode abstract method

String encode(
  1. dynamic value,
  2. String? type, {
  3. String? connectionName,
})

Convert an object to a string representation to use in a sql query. Be very careful to escape your strings correctly. If you get this wrong you will introduce a sql injection vulnerability. Consider using the provided encodeString function.

Implementation

String encode(value, String? type, {String? connectionName});