prepositions - What does 'against' mean in the phrase 'Execute against a MySQL database'?


I've encountered this strange and rather odd (to me) usage of the preposition 'against', which I quite can't grasp as of now. I've tried to look it up in several dictionaries to no avail.



Answer



You can't use a ladder unless it is leaning against a wall or tree or some such object.


Likewise you can't use a SQL statement unless you have a database to run it against.


The database supports the SQL statement. The wall supports the ladder.


When I think of it like that against seems a natural choice.


Comments

Popular posts from this blog

verbs - "Baby is creeping" vs. "baby is crawling" in AmE

commas - Does this sentence have too many subjunctives?

grammatical number - Use of lone apostrophe for plural?

etymology - Where does the phrase "doctored" originate?

phrases - Somebody is gonna kiss the donkey

typography - When a dagger is used to indicate a note, must it come after an asterisk?

etymology - Origin of "s--t eating grin"