On 18/08/2022 04:42, Jiří Činčura wrote: > In .NET parameters are named `@param`, aka the delimiter is `@`. > >> I suppose you transform this to: >> >> select * >> from rdb$database >> where ? = 1 or ? = '2' > > Correct. > >> Which will map to two Firebird parameters with different types. > > Correct. > >> But for the user of the library, I suppose it's one parameter, correct? > > Correct. Developer defines just `@param` and assigns value. > >> And what type (and the deduction rules) this parameter will be described as? > > Developer can set the type of parameter, which is later used to know how to > read it from it's value. For the describe this set of info_sql values is used > to get the info.
Does it have something like JDBC's ParameterMetaData? If yes, how is the type of parameter names used more than once (comparing to different types) described? Adriano Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel